spec: node symbols should always be available in preload script
This commit is contained in:
parent
3bd16a5ecd
commit
baacc939f6
2 changed files with 15 additions and 0 deletions
7
spec/fixtures/module/preload-node-off.js
vendored
Normal file
7
spec/fixtures/module/preload-node-off.js
vendored
Normal file
|
@ -0,0 +1,7 @@
|
|||
setImmediate(function() {
|
||||
try {
|
||||
console.log([typeof process, typeof setImmediate, typeof global].join(' '));
|
||||
} catch (e) {
|
||||
console.log(e.message);
|
||||
}
|
||||
});
|
Loading…
Add table
Add a link
Reference in a new issue