summaryrefslogtreecommitdiff
path: root/jstests/auth/commands_builtin_roles_standalone.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/auth/commands_builtin_roles_standalone.js')
-rw-r--r--jstests/auth/commands_builtin_roles_standalone.js6
1 files changed, 5 insertions, 1 deletions
diff --git a/jstests/auth/commands_builtin_roles_standalone.js b/jstests/auth/commands_builtin_roles_standalone.js
index f42cdb14c8d..630ed098429 100644
--- a/jstests/auth/commands_builtin_roles_standalone.js
+++ b/jstests/auth/commands_builtin_roles_standalone.js
@@ -7,7 +7,10 @@
* in jstests/auth/lib/commands_lib.js
*/
-import {runAllCommandsBuiltinRoles} from "jstests/auth/lib/commands_builtin_roles.js";
+(function() {
+'use strict';
+
+load('jstests/auth/lib/commands_builtin_roles.js');
const dbPath = MongoRunner.toRealDir("$dataDir/commands_built_in_roles_standalone/");
mkdir(dbPath);
@@ -21,3 +24,4 @@ const opts = {
const conn = MongoRunner.runMongod(opts);
runAllCommandsBuiltinRoles(conn);
MongoRunner.stopMongod(conn);
+})();