diff options
Diffstat (limited to 'test/test-cache-map.js')
-rw-r--r-- | test/test-cache-map.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/test-cache-map.js b/test/test-cache-map.js index 12367a90..a0598c18 100644 --- a/test/test-cache-map.js +++ b/test/test-cache-map.js @@ -16,6 +16,7 @@ */ const assert = require('assert'); +const {testMain} = require('../dev/util'); const {VM} = require('../dev/vm'); const vm = new VM({console}); @@ -218,4 +219,4 @@ function main() { } -if (require.main === module) { main(); } +if (require.main === module) { testMain(main); } |