summaryrefslogtreecommitdiff
path: root/test/test-schema.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/test-schema.js')
-rw-r--r--test/test-schema.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test-schema.js b/test/test-schema.js
index 2f294e43..762b8509 100644
--- a/test/test-schema.js
+++ b/test/test-schema.js
@@ -233,4 +233,4 @@ function main() {
}
-main();
+if (require.main === module) { main(); }