summaryrefslogtreecommitdiff
path: root/scripts/index.js
diff options
context:
space:
mode:
authorGravatar Bjorn Lu <bjornlu.dev@gmail.com> 2024-01-12 15:53:00 +0800
committerGravatar GitHub <noreply@github.com> 2024-01-12 15:53:00 +0800
commit71db79e62a237ead543fab3bbe69a1c49645c98a (patch)
tree22aeb97ce1237c3ee40499496b40ea0efe68da85 /scripts/index.js
parentd02a3c48a3ce204649d22e17b1e26fb5a6a60bcf (diff)
downloadastro-71db79e62a237ead543fab3bbe69a1c49645c98a.tar.gz
astro-71db79e62a237ead543fab3bbe69a1c49645c98a.tar.zst
astro-71db79e62a237ead543fab3bbe69a1c49645c98a.zip
Use node:test and node:assert/strict (#9649)
Diffstat (limited to 'scripts/index.js')
-rwxr-xr-xscripts/index.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/index.js b/scripts/index.js
index 249eac53d..381500ac4 100755
--- a/scripts/index.js
+++ b/scripts/index.js
@@ -18,6 +18,11 @@ export default async function run() {
await prebuild(...args);
break;
}
+ case 'test': {
+ const { default: test } = await import('./cmd/test.js');
+ await test(...args);
+ break;
+ }
}
}