@@ -17,8 +17,8 @@ function format(source: string): string {
1717}
1818
1919describe ( 'memoize-one@5.0.0 transform' , ( ) => {
20- it ( 'should not touch usages that do not use a custom equality function' , ( ) => {
21- const result = applyTransform (
20+ it ( 'should not touch usages that do not use a custom equality function' , async ( ) => {
21+ const result = await applyTransform (
2222 transformer ,
2323 format ( `
2424 import memoize from 'memoize-one';
@@ -45,8 +45,8 @@ describe('memoize-one@5.0.0 transform', () => {
4545 ) ;
4646 } ) ;
4747
48- it ( 'should wrap inline equality arrow functions' , ( ) => {
49- const result = applyTransform (
48+ it ( 'should wrap inline equality arrow functions' , async ( ) => {
49+ const result = await applyTransform (
5050 transformer ,
5151 format ( `
5252 import memoize from 'memoize-one';
@@ -85,8 +85,8 @@ describe('memoize-one@5.0.0 transform', () => {
8585 ) ;
8686 } ) ;
8787
88- it ( 'should wrap inline equality function declarations' , ( ) => {
89- const result = applyTransform (
88+ it ( 'should wrap inline equality function declarations' , async ( ) => {
89+ const result = await applyTransform (
9090 transformer ,
9191 format ( `
9292 import memoize from 'memoize-one';
@@ -125,8 +125,8 @@ describe('memoize-one@5.0.0 transform', () => {
125125 ) ;
126126 } ) ;
127127
128- it ( 'should wrap function identifiers' , ( ) => {
129- const result = applyTransform (
128+ it ( 'should wrap function identifiers' , async ( ) => {
129+ const result = await applyTransform (
130130 transformer ,
131131 format ( `
132132 import memoize from 'memoize-one';
@@ -162,8 +162,8 @@ describe('memoize-one@5.0.0 transform', () => {
162162 ) ;
163163 } ) ;
164164
165- it ( 'should add a comment when an unsupported equality fn is encountered' , ( ) => {
166- const result = applyTransform (
165+ it ( 'should add a comment when an unsupported equality fn is encountered' , async ( ) => {
166+ const result = await applyTransform (
167167 transformer ,
168168 format ( `
169169 import memoize from 'memoize-one';
0 commit comments