summaryrefslogtreecommitdiff
path: root/jstests/serverless/shard_split_invalid_inputs.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/serverless/shard_split_invalid_inputs.js')
-rw-r--r--jstests/serverless/shard_split_invalid_inputs.js7
1 files changed, 1 insertions, 6 deletions
diff --git a/jstests/serverless/shard_split_invalid_inputs.js b/jstests/serverless/shard_split_invalid_inputs.js
index 0f6c5dd6ac1..11b25eeedf1 100644
--- a/jstests/serverless/shard_split_invalid_inputs.js
+++ b/jstests/serverless/shard_split_invalid_inputs.js
@@ -12,11 +12,7 @@
* ]
*/
-(function() {
-"use strict";
-
-load("jstests/serverless/libs/shard_split_test.js");
-load("jstests/replsets/libs/tenant_migration_util.js");
+import {ShardSplitTest} from "jstests/serverless/libs/shard_split_test.js";
const test =
new ShardSplitTest({recipientSetName: "recipientSet", recipientTagName: "recipientTag"});
@@ -46,4 +42,3 @@ unsupportedtenantIds.forEach((invalidTenantId) => {
});
test.stop();
-})();