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 3223de1 commit 1a6ba57Copy full SHA for 1a6ba57
doc/guides/writing-tests.md
@@ -287,6 +287,15 @@ const assert = require('assert');
287
const freelist = require('internal/freelist');
288
```
289
290
+In specific scenarios it may be useful to get a hold of `primordials` or
291
+`internalBinding()`. You can do so using
292
+
293
+```console
294
+node --expose-internals -r internal/test/binding lib/fs.js
295
+```
296
297
+This only works if you preload `internal/test/binding` by command line flag.
298
299
### Assertions
300
301
When writing assertions, prefer the strict versions:
0 commit comments