Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/nodejs/node
/ test-module-hooks-custom-conditions-special-values.js
File
test-module-hooks-custom-conditions-special-values.js
test/module-hooks/test-module-hooks-custom-conditions-special-values.js:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
// Check various special values of `conditions` in the context object
2
// when using synchronous module hooks to override the loaders in a
3
// CJS module.
4
'use strict'
;
Callers
nothing calls this directly
Calls
4
registerHooks
Function · 0.85
deregister
Method · 0.80
require
Function · 0.50
then
Method · 0.45
Tested by
no test coverage detected