Skip to content

Commit

Permalink
fix workspaces-ts file arrangement
Browse files Browse the repository at this point in the history
  • Loading branch information
bumblehead committed Sep 13, 2023
1 parent 8636624 commit e420957
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
"node": ">=14.16.0"
},
"dependencies": {
"resolvewithplus": "^2.0.3"
"resolvewithplus": "^2.0.4"
},
"devDependencies": {
"c8": "^8.0.1",
Expand Down
2 changes: 1 addition & 1 deletion tests/tests-workspaces/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"scripts": {
"isnodelt20_6": "node -e \"(([mj, mn]) => (+mj < 20 || (+mj === 20 && +mn < 6)))(process.versions.node.split('.')) || process.exit(1)\"",
"test-workspaces-js": "npm --prefix workspaces-js/js-b test",
"test-workspaces-ts": "npm --prefix workspaces-js/js-b test",
"test-workspaces-ts": "npm --prefix workspaces-ts/ts-b test",
"test-workspaces": "npm run test-workspaces-js && npm run test-workspaces-ts",
"test": "npm run isnodelt20_6 || npm run test-workspaces"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import esmock from '../../../../src/esmock.js'

test('works ootb', async () => {
const sut = await esmock('./index.js', {
'js-a': { foo: () => 'bar' }
'ts-a': { foo: () => 'bar' }
})

assert.equal(sut(), 'bar')
Expand Down

0 comments on commit e420957

Please sign in to comment.