test: move module tests to main process (#20419)
This commit is contained in:
parent
df1d3156a0
commit
8de925c4c2
21 changed files with 58 additions and 76 deletions
6
spec-main/fixtures/module/echo.js
Normal file
6
spec-main/fixtures/module/echo.js
Normal file
|
@ -0,0 +1,6 @@
|
|||
process.on('uncaughtException', function (err) {
|
||||
process.send(err.message)
|
||||
})
|
||||
|
||||
const echo = require('echo')
|
||||
process.send(echo('ok'))
|
Loading…
Add table
Add a link
Reference in a new issue