Skip to content

Commit

Permalink
Compile tests with tsc (avoid ts-node)
Browse files Browse the repository at this point in the history
  • Loading branch information
rwjblue committed Nov 3, 2021
1 parent dfc7274 commit ab716c8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
8 changes: 4 additions & 4 deletions jest.config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module.exports = {
preset: 'ts-jest',
export default {
transform: {},
testEnvironment: 'node',
roots: ['<rootDir>/src/'],
};
roots: ['<rootDir>/lib/'],
}
5 changes: 2 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@
"lint:tsc": "tsc --noEmit",
"prepare": "tsc",
"release": "release-it",
"test": "npm-run-all lint test:*",
"test:jest": "jest"
"test": "npm-run-all lint build test:*",
"test:jest": "NODE_OPTIONS=--experimental-vm-modules jest"
},
"dependencies": {
"@glimmer/reference": "^0.82.0",
Expand Down Expand Up @@ -63,7 +63,6 @@
"prettier": "^2.4.1",
"release-it": "^14.11.6",
"release-it-lerna-changelog": "^4.0.1",
"ts-jest": "^26.5.6",
"typescript": "~4.4.4"
},
"engines": {
Expand Down

0 comments on commit ab716c8

Please sign in to comment.