node.runTechAndRequire: use eval instead of require
Closed this issue · 0 comments
blond commented
In most ENB packages used mock-fs
to testing.
The mock-fs
does not support require
for Node.js 4
: tschaub/mock-fs#43.
Because of this node.runTechAndRequire()
will throw error:
Cannot find module 'path/to/file.js'