diff options
Diffstat (limited to 'test/test-core.js')
-rw-r--r-- | test/test-core.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/test-core.js b/test/test-core.js index b5c0683f..3e8b8414 100644 --- a/test/test-core.js +++ b/test/test-core.js @@ -17,6 +17,7 @@ const assert = require('assert'); const crypto = require('crypto'); +const {testMain} = require('../dev/util'); const {VM} = require('../dev/vm'); const vm = new VM({ @@ -166,4 +167,4 @@ function main() { } -if (require.main === module) { main(); } +if (require.main === module) { testMain(main); } |