Skip to content

Commit 9c7e96f

Browse files
committed
no output in tests
1 parent 8bce216 commit 9c7e96f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/umzug.test.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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()

0 commit comments

Comments
 (0)