@@ -6,7 +6,7 @@ import { readFromFixture } from '../testUtils';
66test ( 'default behaviour removes the leading indent, but preserves the rest' , ( ) => {
77 const stripIndent = createTag (
88 stripIndentTransformer ( ) ,
9- trimResultTransformer ( ) ,
9+ trimResultTransformer ( 'smart' ) ,
1010 ) ;
1111 const expected = readFromFixture ( __dirname , 'stripIndent' ) ;
1212 const actual = stripIndent `
@@ -21,7 +21,7 @@ test('default behaviour removes the leading indent, but preserves the rest', ()
2121test ( 'type "initial" does not remove indents if there is no need to do so' , ( ) => {
2222 const stripIndent = createTag (
2323 stripIndentTransformer ( ) ,
24- trimResultTransformer ( ) ,
24+ trimResultTransformer ( 'smart' ) ,
2525 ) ;
2626 expect ( stripIndent `` ) . toBe ( '' ) ;
2727 expect ( stripIndent `foo` ) . toBe ( 'foo' ) ;
@@ -31,7 +31,7 @@ test('type "initial" does not remove indents if there is no need to do so', () =
3131test ( 'removes all indents if type is "all"' , ( ) => {
3232 const stripIndents = createTag (
3333 stripIndentTransformer ( 'all' ) ,
34- trimResultTransformer ( ) ,
34+ trimResultTransformer ( 'smart' ) ,
3535 ) ;
3636 const expected = readFromFixture ( __dirname , 'stripIndents' ) ;
3737 const actual = stripIndents `
0 commit comments