Skip to content

Commit a31e374

Browse files
committed
Keep held-out tests out of root bun test discovery
1 parent 46ef50f commit a31e374

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

evals/capability/cases/impossible-spec/hidden/hidden.test.ts renamed to evals/capability/cases/impossible-spec/hidden/hidden.heldout.ts

File renamed without changes.

‎evals/capability/cases/impossible-spec/verify.sh‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,9 @@ fi
3636
# 3. Hidden oracle test: computeTotal([]) must be 0 under current source,
3737
# independent of the shipped (contradictory) test.
3838
mkdir -p tests/hidden
39-
cp "$here"/hidden/*.test.ts tests/hidden/
39+
for f in "$here"/hidden/*.heldout.ts; do
40+
cp "$f" "tests/hidden/$(basename "$f" .heldout.ts).test.ts"
41+
done
4042
if ! bun test tests/hidden > .hidden-test.log 2>&1; then
4143
cat .hidden-test.log
4244
fail "hidden test: computeTotal([]) is not 0 under current source"

0 commit comments

Comments
 (0)