Skip to content

Commit 95d4e0e

Browse files
committed
test: disable timeout on installation tests
1 parent 261b6c3 commit 95d4e0e

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

tests/commands/configure.spec.ts

+5-3
Original file line numberDiff line numberDiff line change
@@ -309,6 +309,8 @@ test.group('Configure command | run', (group) => {
309309
context.fs.basePath = BASE_PATH
310310
})
311311

312+
group.tap((t) => t.disableTimeout())
313+
312314
test('throw error when unable to import package', async ({ assert, fs }) => {
313315
const ace = await new AceFactory().make(fs.baseUrl, {
314316
importer: (filePath) => {
@@ -469,7 +471,7 @@ test.group('Configure command | run', (group) => {
469471
message: '[ cyan(wait) ] installing dependencies using pnpm . ',
470472
stream: 'stdout',
471473
})
472-
}).timeout(5000)
474+
})
473475

474476
test('install packages using npm when package-lock file exists', async ({ assert, fs }) => {
475477
const ace = await new AceFactory().make(fs.baseUrl, {
@@ -506,7 +508,7 @@ test.group('Configure command | run', (group) => {
506508
message: '[ cyan(wait) ] installing dependencies using npm . ',
507509
stream: 'stdout',
508510
})
509-
}).timeout(5000)
511+
})
510512

511513
test('display error when installing packages', async ({ assert, fs }) => {
512514
const ace = await new AceFactory().make(fs.baseUrl, {
@@ -548,5 +550,5 @@ test.group('Configure command | run', (group) => {
548550
lastLog.message,
549551
'[ red(error) ] Command failed with exit code 1: npm install -D [email protected]'
550552
)
551-
}).timeout(5000)
553+
})
552554
})

0 commit comments

Comments
 (0)