Skip to content

Commit 6e54459

Browse files
committed
Fix tests on Windows
1 parent ae60865 commit 6e54459

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"build:dev": "yarn clean && yarn build:bindings:configure && yarn build",
2222
"build:tarball": "npm pack",
2323
"clean": "node-gyp clean && rm -rf lib && rm -rf build",
24-
"test": "vitest run ./test/*.test.mjs --silent=false --disable-console-intercept"
24+
"test": "vitest run --silent=false --disable-console-intercept"
2525
},
2626
"volta": {
2727
"node": "24.1.0"

test/e2e.test.mjs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { describe, expect, test } from 'vitest';
44

55
const __dirname = import.meta.dirname || new URL('.', import.meta.url).pathname;
66

7-
describe('e2e Tests', () => {
7+
describe('e2e Tests', { timeout: 20000 }, () => {
88
test('Capture stack trace from multiple threads', () => {
99
const testFile = join(__dirname, 'stack-traces.js');
1010
const result = spawnSync('node', [testFile])
@@ -56,7 +56,7 @@ describe('e2e Tests', () => {
5656
]));
5757
});
5858

59-
test('detect stalled thread', { timeout: 10000 }, () => {
59+
test('detect stalled thread', { timeout: 20000 }, () => {
6060
const testFile = join(__dirname, 'stalled.js');
6161
const result = spawnSync('node', [testFile]);
6262

0 commit comments

Comments
 (0)