Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit c8f881b

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

1 file changed

+2-2Lines changed: 2 additions & 2 deletions

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎src/e2e/server.ts‎

Copy file name to clipboardExpand all lines: src/e2e/server.ts
+2-2Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.