Skip to content

Commit 1089c83

Browse files
committed
Move the existing terminal test fixtures
1 parent ce78410 commit 1089c83

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed

test/interceptors/existing-terminal.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ describe('Existing terminal interceptor', function () {
8282

8383
const scriptOutput = await execAsync(`
8484
. <(curl -sS http://localhost:${result.port}/setup);
85-
node "${require.resolve('./terminal-scripts/js-test-script')}"
85+
node "${require.resolve('../fixtures/terminal/js-test-script')}"
8686
`, {
8787
shell: '/bin/bash'
8888
});

test/interceptors/fresh-terminal.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ describe('Fresh terminal interceptor', function () {
4949

5050
// Spawn node, as if it was run inside an intercepted terminal
5151
const terminalEnvOverrides = getTerminalEnvVars(server.port, httpsConfig, process.env);
52-
const nodeScript = fork(require.resolve('./terminal-scripts/js-test-script'), [], {
52+
const nodeScript = fork(require.resolve('../fixtures/terminal/js-test-script'), [], {
5353
execArgv: ['-r', require.resolve('../../overrides/js/prepend-node.js')],
5454
env: Object.assign({}, process.env, terminalEnvOverrides)
5555
});

0 commit comments

Comments
 (0)