Skip to content

Commit b3ad241

Browse files
committed
restore original port binding logic
I don't think the runner should listen to a port at all if `E2E_LOCAL` is false, but let's just test with the old behaviour now
1 parent c454cd6 commit b3ad241

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

frontend/e2e/index.cafe.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,12 @@ createTestCafe()
2121
testcafe = tc;
2222
await new Promise((resolve) => {
2323
if (process.env.E2E_LOCAL) {
24-
process.env.PORT = 3000;
2524
server = fork('./api/index');
2625
server.on('message', () => {
2726
resolve();
2827
});
2928
} else {
29+
process.env.PORT = 3000;
3030
resolve()
3131
}
3232
});

0 commit comments

Comments
 (0)