spec: original-fs is available in forked scripts

This commit is contained in:
Cheng Zhao 2015-05-20 13:37:46 +08:00
parent fa169ee7ff
commit efd8a8a624
2 changed files with 14 additions and 3 deletions

3
spec/fixtures/module/original-fs.js vendored Normal file
View file

@ -0,0 +1,3 @@
process.on('message', function (msg) {
process.send(typeof require('original-fs'));
});