diff options
author | 2023-01-10 23:57:16 +0700 | |
---|---|---|
committer | 2023-01-11 00:57:16 +0800 | |
commit | 21a55b32765c64a2add698c28a09557f68f5c587 (patch) | |
tree | 612b6bc390ce553d1cf7c94a26d8ac8736719c5a /packages/create-astro/test/utils.js | |
parent | c55fbcb8edca1fe118a44f68c9f9436a4719d171 (diff) | |
download | astro-21a55b32765c64a2add698c28a09557f68f5c587.tar.gz astro-21a55b32765c64a2add698c28a09557f68f5c587.tar.zst astro-21a55b32765c64a2add698c28a09557f68f5c587.zip |
test(create-astro): correct wrong argument (#5812)
Diffstat (limited to 'packages/create-astro/test/utils.js')
-rw-r--r-- | packages/create-astro/test/utils.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/create-astro/test/utils.js b/packages/create-astro/test/utils.js index 46a671def..1f437fa01 100644 --- a/packages/create-astro/test/utils.js +++ b/packages/create-astro/test/utils.js @@ -5,7 +5,7 @@ import { fileURLToPath } from 'url'; const __filename = fileURLToPath(import.meta.url); export const testDir = dirname(__filename); -export const timeout = 5000; +export const timeout = 25000; const timeoutError = function (details) { let errorMsg = 'Timed out waiting for create-astro to respond with expected output.'; @@ -42,7 +42,7 @@ export const PROMPT_MESSAGES = { }; export function setup(args = []) { - const { stdout, stdin } = execa('../create-astro.mjs', [...args, '--skip-houston', '--dryrun'], { + const { stdout, stdin } = execa('../create-astro.mjs', [...args, '--skip-houston', '--dry-run'], { cwd: testDir, }); return { |