Skip to content

Commit

Permalink
use local esmock
Browse files Browse the repository at this point in the history
  • Loading branch information
bumblehead committed Sep 11, 2023
1 parent 62f3697 commit f52c78c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
5 changes: 1 addition & 4 deletions tests/tests-workspaces/packages/b/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,9 @@
"version": "0.0.0",
"type": "module",
"scripts": {
"test": "node --loader=esmock --test"
"test": "node --test"
},
"dependencies": {
"a": "^0.0.0"
},
"devDependencies": {
"esmock": "^2.3.8"
}
}
2 changes: 1 addition & 1 deletion tests/tests-workspaces/packages/b/test.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import esmock from 'esmock'
import module from 'module'
import test from 'node:test'
import assert from 'node:assert/strict'
import esmock from '../../../../src/esmock.js'

test('works ootb', async () => {
const sut = await esmock('./index.js', {
Expand Down

0 comments on commit f52c78c

Please sign in to comment.