Skip to content

Commit

Permalink
use existing test file instead of creating additional one
Browse files Browse the repository at this point in the history
  • Loading branch information
koshic committed Mar 23, 2023
1 parent e473e3e commit 06ba29b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
4 changes: 0 additions & 4 deletions tests/local/strictest.js

This file was deleted.

4 changes: 2 additions & 2 deletions tests/tests-node/esmock.node.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -436,13 +436,13 @@ test('should throw error when strict mock definition not found', async () => {

test('should error when "strictest" called with defs: {}', async () => {
await assert.rejects(async () => esmock.strictest(
'../local/strictest.js', {}
'../local/importsCoreLocalAndPackage.js', {}
))
})

test('should error when "strictest" called with defs: undefined', async () => {
await assert.rejects(async () => esmock.strictest(
'../local/strictest.js'
'../local/importsCoreLocalAndPackage.js'
))
})

Expand Down

0 comments on commit 06ba29b

Please sign in to comment.