We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ab42ef3 commit f52c921Copy full SHA for f52c921
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