Skip to content

Commit be96a36

Browse files
committed
Fix the watchdog path in the client test for windows
1 parent 9810098 commit be96a36

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/telemetry/watchdog-client.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ describe('WatchdogClient', () => {
6363
const args = spawnStub.firstCall.args;
6464
const cmdArgs = args[1];
6565

66-
assert.match(cmdArgs[0], /watchdog\/main\.js$/);
66+
assert.match(cmdArgs[0], /watchdog[/\\]main\.js$/);
6767
assert.strictEqual(cmdArgs.includes('--parent-pid=100'), true);
6868
assert.strictEqual(cmdArgs.includes('--app-version=1.2.3'), true);
6969
assert.strictEqual(cmdArgs.includes('--os-type=2'), true);

0 commit comments

Comments
 (0)