Skip to content

Commit 3161de6

Browse files
authored
fix: expect timeout loading from config (#47)
Signed-off-by: Chapman Pendery <cpendery@microsoft.com>
1 parent 64c9374 commit 3161de6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/config/config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ export const loadConfig = async (): Promise<Required<TestConfig>> => {
2020
loadedConfig = {
2121
testMatch: userConfig.testMatch ?? "**/*.@(spec|test).?(c|m)[jt]s?(x)",
2222
expect: {
23-
timeout: userConfig.timeout ?? 5_000,
23+
timeout: userConfig.expect?.timeout ?? 5_000,
2424
},
2525
globalTimeout: userConfig.globalTimeout ?? 0,
2626
retries: userConfig.retries ?? 0,

0 commit comments

Comments
 (0)