Skip to content
Merged
Changes from 1 commit
Commits
Show all changes
50 commits
Select commit Hold shift + click to select a range
ea87eea
module: fix extensionless CJS files in `"type": "module"` packages
mcollina Mar 10, 2026
f2c08c7
src: use validate_ascii_with_errors instead of validate_ascii
ChALkeR Mar 2, 2026
cc46204
doc: include url.resolve() in DEP0169 application deprecation
MikeMcC399 Mar 2, 2026
8048e05
test: fix skipping behavior for `test-runner-run-files-undefined`
aduh95 Mar 2, 2026
f90fa9c
stream: accept ArrayBuffer in CompressionStream and DecompressionStream
suuuuuuminnnnnn Mar 2, 2026
851228c
sqlite: handle stmt invalidation
araujogui Mar 2, 2026
80f78f2
test: update WPT for WebCryptoAPI to 42e47329fd
nodejs-github-bot Mar 3, 2026
d55a441
doc: add title to index
avivkeller Mar 3, 2026
09191ad
deps: update ada to 3.4.3
nodejs-github-bot Mar 3, 2026
975dafb
src: release context frame in AsyncWrap::EmitDestroy
Flarna Mar 3, 2026
1d91a72
doc,module: add missing doc for syncHooks.deregister()
joyeecheung Mar 3, 2026
bab750d
build: do not depend on V8 deps on `--without-bundled-v8` builds
aduh95 Mar 3, 2026
92f3b42
tools: bump eslint to v10, babel to v8.0.0-rc.2
JLHwung Mar 3, 2026
5b266f3
meta: bump step-security/harden-runner from 2.14.2 to 2.15.0
dependabot[bot] Mar 3, 2026
f8793f8
lib: fix source map url parse in dynamic imports
legendecas Mar 3, 2026
772d3d2
tools: bump minimatch from 3.1.3 to 3.1.5 in /tools/clang-format
dependabot[bot] Mar 3, 2026
db150b2
doc: fix markdown for `expectFailure` values
JakobJingleheimer Mar 4, 2026
5632446
stream: fix TransformStream race on cancel with pending write
marcopiraccini Mar 4, 2026
3e8c816
tools: fix example in release proposal linter
richardlau Mar 4, 2026
7d0b758
tools: fix daily wpt workflow nighly release version lookup
panva Mar 4, 2026
dcb1cbb
tools: bump the eslint group across 1 directory with 2 updates
dependabot[bot] Mar 5, 2026
a5b1be2
stream: fix UTF-8 character corruption in fast-utf8-stream
mcollina Mar 5, 2026
5198573
http: fix use-after-free when freeParser is called during llhttp_execute
Flarna Mar 6, 2026
6f975db
crypto: fix importKey required argument count check
panva Mar 4, 2026
e362635
crypto: add missing AES dictionaries
panva Mar 4, 2026
b26d1c7
crypto: make --use-system-ca per-env rather than per-process
Aditi-1400 Mar 6, 2026
710dde5
tools: fix `--node-builtin-modules-path` value in `shell.nix`
aduh95 Mar 6, 2026
eeee7c7
doc: add efekrskl as triager
efekrskl Mar 6, 2026
0257e80
src: make AsyncWrap subclass internal field counts explicit
addaleax Mar 3, 2026
19efe60
src: expose async context frame debugging helper to JS
addaleax Mar 3, 2026
cfc847d
test: update WPT compression to ae05f5cb53
panva Mar 4, 2026
82770cb
test: improve WPT report runner
panva Mar 4, 2026
4bdcaf2
stream: improve Web Compression spec compliance
panva Mar 4, 2026
4d62e95
stream: fix brotli error handling in web compression streams
panva Mar 4, 2026
1a453b5
tools: improve error handling in test426 update script
Trott Mar 7, 2026
27fd219
meta: bump actions/upload-artifact from 6.0.0 to 7.0.0
dependabot[bot] Mar 8, 2026
5439d0e
meta: bump actions/download-artifact from 7.0.0 to 8.0.0
dependabot[bot] Mar 8, 2026
83719ff
doc: correct `util.convertProcessSignalToExitCode` validation behavior
Renegade334 Mar 8, 2026
deead95
url: suppress warnings from url.format/url.resolve inside node_modules
Renegade334 Mar 8, 2026
0278461
stream: optimize webstreams pipeTo
MattiasBuelens Mar 9, 2026
37862a6
deps: V8: cherry-pick aa0b288f87cc
richardlau Mar 9, 2026
699a621
tools: revert timezone update GHA workflow to ubuntu-latest
richardlau Mar 9, 2026
8d63a17
doc: copyedit `addons.md`
aduh95 Mar 9, 2026
2c85057
deps: patch resb crate
richardlau Mar 9, 2026
456abc7
test: update WPT for WebCryptoAPI to c9e955840a
nodejs-github-bot Mar 10, 2026
00319ea
test: update WPT for url to c928b19ab0
nodejs-github-bot Mar 10, 2026
a13ed05
deps: update merve to 1.2.0
nodejs-github-bot Mar 10, 2026
53afb0e
deps: update sqlite to 3.52.0
nodejs-github-bot Mar 10, 2026
3beaf9c
deps: update amaro to 1.1.8
nodejs-github-bot Mar 10, 2026
2ea7a7b
2026-03-11, Version 25.8.1 (Current)
nodejs-github-bot Mar 10, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
doc: fix markdown for expectFailure values
PR-URL: #62100
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Ethan Arrowood <ethan@arrowood.dev>
  • Loading branch information
JakobJingleheimer authored and aduh95 committed Mar 10, 2026
commit db150b2e691c58e28e56b978b2fecf0b60f8d27e
12 changes: 2 additions & 10 deletions doc/api/test.md
Original file line number Diff line number Diff line change
Expand Up @@ -286,11 +286,7 @@ it('should do the thing', { expectFailure: 'feature not implemented' }, () => {
});
```

If the value of `expectFailure` is a
[<RegExp>](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RegExp) |
[<Function>](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function) |
[<Object>](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object) |
[<Error>](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Error),
If the value of `expectFailure` is a {RegExp|Function|Object|Error}
the tests will pass only if they throw a matching value.
See [`assert.throws`][] for how each value type is handled.

Expand Down Expand Up @@ -1731,11 +1727,7 @@ changes:
**Default:** `false`.
* `expectFailure` {boolean|string|RegExp|Function|Object|Error} If truthy, the
test is expected to fail. If a non-empty string is provided, that string is displayed
in the test results as the reason why the test is expected to fail. If a
[<RegExp>](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RegExp),
[<Function>](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function),
[<Object>](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object), or
[<Error>](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Error)
in the test results as the reason why the test is expected to fail. If a {RegExp|Function|Object|Error}
is provided directly (without wrapping in `{ match: … }`), the test passes
only if the thrown error matches, following the behavior of
[`assert.throws`][]. To provide both a reason and validation, pass an object
Expand Down