Skip to content

Commit

Permalink
make mocha play nice with jest
Browse files Browse the repository at this point in the history
  • Loading branch information
jpogran committed Dec 10, 2021
1 parent 7959ddd commit fb928ef
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/test/integration/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ export async function run(): Promise<void> {
// integration tests require long activation time
mocha.timeout(100000);

const testsRoot = path.resolve(__dirname, '..');
// const testsRoot = path.resolve(__dirname, '..');
const testsRoot = path.resolve(__dirname);

return new Promise((resolve, reject) => {
glob('**/**.test.js', { cwd: testsRoot }, (err, files) => {
Expand Down
3 changes: 2 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
"outDir": "out",
"rootDir": "src",
"sourceMap": true,
"strict": true
"strict": true,
"skipLibCheck": true
},
"include": ["src"],
"exclude": ["node_modules", ".vscode-test"]
Expand Down

0 comments on commit fb928ef

Please sign in to comment.