Use node-runas for testing native modules.
This commit is contained in:
parent
e07e26ca76
commit
1d88b31edd
3 changed files with 6 additions and 12 deletions
6
spec/fixtures/module/runas.js
vendored
Normal file
6
spec/fixtures/module/runas.js
vendored
Normal file
|
@ -0,0 +1,6 @@
|
|||
process.on('uncaughtException', function(err) {
|
||||
process.send(err.message);
|
||||
});
|
||||
|
||||
require('runas');
|
||||
process.send('ok');
|
Loading…
Add table
Add a link
Reference in a new issue