chore: fix no-op tsc in test script (#5093)

* chore: fix no-op tsc in test script

* ci: apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
This commit is contained in:
Yusuke Wada
2026-07-07 18:18:57 +09:00
committed by GitHub
co-authored by autofix-ci[bot]
parent f9992096de
commit 9c6ccd76f1
2 changed files with 2 additions and 4 deletions
+1 -3
View File
@@ -103,9 +103,7 @@ const runBuild = async (config: BuildOptions) => {
await Promise.all([
runBuild(esmConfig),
runBuild(cjsConfig),
$`tsc ${
isWatch ? ['-w'] : []
} --emitDeclarationOnly --declaration --project tsconfig.build.json`.nothrow(),
$`tsc ${isWatch ? ['-w'] : []} --emitDeclarationOnly --declaration --project tsconfig.build.json`,
])
// Remove #private fields
+1 -1
View File
@@ -11,7 +11,7 @@
"!dist/**/*.tsbuildinfo"
],
"scripts": {
"test": "tsc --noEmit && vitest --run",
"test": "tsc -p tsconfig.spec.json && vitest --run",
"test:watch": "vitest --watch",
"test:deno": "deno test --allow-read --allow-env --allow-write --allow-net -c runtime-tests/deno/deno.json runtime-tests/deno && deno test --no-lock -c runtime-tests/deno-jsx/deno.precompile.json runtime-tests/deno-jsx && deno test --no-lock -c runtime-tests/deno-jsx/deno.react-jsx.json runtime-tests/deno-jsx",
"test:bun": "bun test --jsx-import-source ../../src/jsx runtime-tests/bun/*",