File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ describe('basic usage', () => {
4444 } )
4545
4646 test ( 'imports esm files' , async ( ) => {
47- const spy = jest . spyOn ( console , 'log' ) . mockReset ( )
47+ const spy = jest . spyOn ( console , 'log' ) . mockImplementation ( ( ) => { } )
4848
4949 const syncer = fsSyncer ( path . join ( __dirname , 'generated/umzug/esm' ) , {
5050 'm1.mjs' : `
@@ -78,9 +78,9 @@ describe('basic usage', () => {
7878 } )
7979
8080 test ( 'imports typescript esm files' , async ( ) => {
81- const spy = jest . spyOn ( console , 'log' ) . mockReset ( )
81+ const spy = jest . spyOn ( console , 'log' ) . mockImplementation ( ( ) => { } )
8282
83- const syncer = fsSyncer ( path . join ( __dirname , 'generated/umzug/esm' ) , {
83+ const syncer = fsSyncer ( path . join ( __dirname , 'generated/umzug/esm-ts ' ) , {
8484 'm1.mts' : `export const up = async (params: {}) => console.log('up1', params)` ,
8585 } )
8686 syncer . sync ( )
You can’t perform that action at this time.
0 commit comments