Commit 7085ad4
chore: test for describe.only without only failure (#34590)
Adds a regression spec for `node:test` `describe.only()` to ensure it
runs successfully without Deno reporting `Test failed because the "only"
option was used`.
The current node:test implementation already registers top-level
node:test entries with `sanitizeOnly: false`; this locks the issue repro
into the spec suite.
Closes denoland/orchid#342
Closes #31862
Verification:
- `/home/orchid/orch-work/issue-342/target/debug/deno test
describe_only.test.js`
- `cargo test -p specs_tests --test specs node_test_describe_only`
Co-authored-by: divybot <divybot@users.noreply.github.com>
Co-authored-by: Divy Srivastava <me@littledivy.com>1 parent 17e4d5e commit 7085ad4
3 files changed
Lines changed: 18 additions & 0 deletions
File tree
- tests/specs/node/node_test_describe_only
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
Lines changed: 9 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
0 commit comments