0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2025-01-06 22:10:10 -05:00

test(create-astro): correct wrong argument (#5812)

This commit is contained in:
Le Minh Tri 2023-01-10 23:57:16 +07:00 committed by GitHub
parent c55fbcb8ed
commit 21a55b3276
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 {