aboutsummaryrefslogtreecommitdiff
path: root/test/test-profile-conditions.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/test-profile-conditions.js')
-rw-r--r--test/test-profile-conditions.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/test-profile-conditions.js b/test/test-profile-conditions.js
index 8ef24b5a..52d2ca24 100644
--- a/test/test-profile-conditions.js
+++ b/test/test-profile-conditions.js
@@ -16,6 +16,7 @@
*/
const assert = require('assert');
+const {testMain} = require('../dev/util');
const {VM} = require('../dev/vm');
@@ -839,4 +840,4 @@ function main() {
}
-if (require.main === module) { main(); }
+if (require.main === module) { testMain(main); }