diff options
author | 2024-01-12 15:53:00 +0800 | |
---|---|---|
committer | 2024-01-12 15:53:00 +0800 | |
commit | 71db79e62a237ead543fab3bbe69a1c49645c98a (patch) | |
tree | 22aeb97ce1237c3ee40499496b40ea0efe68da85 /scripts/index.js | |
parent | d02a3c48a3ce204649d22e17b1e26fb5a6a60bcf (diff) | |
download | astro-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-x | scripts/index.js | 5 |
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; + } } } |