Skip to content

Commit c8f881b

Browse files
committed
fix(e2e): always override global env options with inline options
1 parent 5107dc0 commit c8f881b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/e2e/server.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ export async function startServer(options: StartServerOptions = {}) {
2828
PORT: String(port),
2929
HOST: host,
3030
NODE_ENV: 'development',
31-
...options.env,
3231
...ctx.options.env,
32+
...options.env,
3333
},
3434
},
3535
})
@@ -66,8 +66,8 @@ export async function startServer(options: StartServerOptions = {}) {
6666
PORT: String(port),
6767
HOST: host,
6868
NODE_ENV: 'test',
69-
...options.env,
7069
...ctx.options.env,
70+
...options.env,
7171
},
7272
},
7373
},

0 commit comments

Comments
 (0)