aboutsummaryrefslogtreecommitdiff
path: root/test/schema-validate.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/schema-validate.js')
-rw-r--r--test/schema-validate.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/schema-validate.js b/test/schema-validate.js
index ac5a8a85..309adf83 100644
--- a/test/schema-validate.js
+++ b/test/schema-validate.js
@@ -33,4 +33,4 @@ function main() {
}
-main();
+if (require.main === module) { main(); }