summaryrefslogtreecommitdiff
path: root/packages/create-astro/test/utils.js
diff options
context:
space:
mode:
authorGravatar Shoaib Khan <56039103+shoaibkh4n@users.noreply.github.com> 2024-02-13 20:11:59 +0530
committerGravatar GitHub <noreply@github.com> 2024-02-13 14:41:59 +0000
commit3007d24c98e607442903a3c0aaaea195390a25e7 (patch)
tree8a993608a3d35b47c8c5e016cc45359f4578af64 /packages/create-astro/test/utils.js
parentbd877d389a6ebdd995e253bcb9daccef52b2277f (diff)
downloadastro-3007d24c98e607442903a3c0aaaea195390a25e7.tar.gz
astro-3007d24c98e607442903a3c0aaaea195390a25e7.tar.zst
astro-3007d24c98e607442903a3c0aaaea195390a25e7.zip
chore: Migrate all `packages/create-astro/test` to node:test (#10084)
* chore: Migrate All packages/create-astro/test to node:test * Some minor fix * Requested Changes done * Reopen * Apply suggestions from code review * let's test with concurrency * chore: fix possible false positive tests * todo test * skip tests * Apply suggestions from code review --------- Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
Diffstat (limited to 'packages/create-astro/test/utils.js')
-rw-r--r--packages/create-astro/test/utils.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/packages/create-astro/test/utils.js b/packages/create-astro/test/utils.js
index ee7f8af5b..6a62490e9 100644
--- a/packages/create-astro/test/utils.js
+++ b/packages/create-astro/test/utils.js
@@ -1,6 +1,7 @@
import fs from 'node:fs';
import { setStdout } from '../dist/index.js';
import stripAnsi from 'strip-ansi';
+import { before, beforeEach } from 'node:test';
export function setup() {
const ctx = { messages: [] };