Skip to content

Commit 5f28dec

Browse files
committed
Keep held-out tests out of root bun test discovery
1 parent c518036 commit 5f28dec

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

evals/capability/cases/hidden-contract-inventory/hidden/reservations.test.ts renamed to evals/capability/cases/hidden-contract-inventory/hidden/reservations.heldout.ts

File renamed without changes.

‎evals/capability/cases/hidden-contract-inventory/verify.sh‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,9 @@ if [[ ! -f package.json ]]; then
1515
fi
1616

1717
mkdir -p tests/hidden
18-
cp "$here"/hidden/*.test.ts tests/hidden/
18+
for f in "$here"/hidden/*.heldout.ts; do
19+
cp "$f" "tests/hidden/$(basename "$f" .heldout.ts).test.ts"
20+
done
1921

2022
if ! bun test 2>&1 | tee .verify.log; then
2123
echo "FAIL: bun test (hidden reservation contract + shipped product tests)"

0 commit comments

Comments
 (0)