We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3ef9562 commit 2facf36Copy full SHA for 2facf36
doc/guides/writing-tests.md
@@ -286,6 +286,15 @@ const assert = require('assert');
286
const freelist = require('internal/freelist');
287
```
288
289
+In specific scenarios it may be useful to get a hold of `primordials` or
290
+`internalBinding()`. You can do so using
291
+
292
+```console
293
+node --expose-internals -r internal/test/binding lib/fs.js
294
+```
295
296
+This only works if you preload `internal/test/binding` by command line flag.
297
298
### Assertions
299
300
When writing assertions, prefer the strict versions:
0 commit comments