@@ -11,6 +11,7 @@ const { inRange } = require('../../dist/is.cjs');
1111
1212suite ( 'Text to image' , ( ) => {
1313 test ( 'text with default values' , async ( t ) => {
14+ if ( fixtures . isLsan ) return t . skip ( 'LSAN' ) ;
1415 const output = fixtures . path ( 'output.text-default.png' ) ;
1516 const text = sharp ( {
1617 text : {
@@ -44,6 +45,7 @@ suite('Text to image', () => {
4445 } ) ;
4546
4647 test ( 'text with width and height' , async ( t ) => {
48+ if ( fixtures . isLsan ) return t . skip ( 'LSAN' ) ;
4749 const output = fixtures . path ( 'output.text-width-height.png' ) ;
4850 const text = sharp ( {
4951 text : {
@@ -67,6 +69,7 @@ suite('Text to image', () => {
6769 } ) ;
6870
6971 test ( 'text with dpi' , async ( t ) => {
72+ if ( fixtures . isLsan ) return t . skip ( 'LSAN' ) ;
7073 const output = fixtures . path ( 'output.text-dpi.png' ) ;
7174 const dpi = 300 ;
7275 const text = sharp ( {
@@ -88,6 +91,7 @@ suite('Text to image', () => {
8891 } ) ;
8992
9093 test ( 'text with color and pango markup' , async ( t ) => {
94+ if ( fixtures . isLsan ) return t . skip ( 'LSAN' ) ;
9195 const output = fixtures . path ( 'output.text-color-pango.png' ) ;
9296 const dpi = 300 ;
9397 const text = sharp ( {
@@ -113,6 +117,7 @@ suite('Text to image', () => {
113117 } ) ;
114118
115119 test ( 'text with font' , async ( t ) => {
120+ if ( fixtures . isLsan ) return t . skip ( 'LSAN' ) ;
116121 const output = fixtures . path ( 'output.text-with-font.png' ) ;
117122 const text = sharp ( {
118123 text : {
@@ -133,6 +138,7 @@ suite('Text to image', () => {
133138 } ) ;
134139
135140 test ( 'text with justify and composite' , async ( t ) => {
141+ if ( fixtures . isLsan ) return t . skip ( 'LSAN' ) ;
136142 const output = fixtures . path ( 'output.text-composite.png' ) ;
137143 const width = 500 ;
138144 const dpi = 300 ;
0 commit comments