Skip to content

Commit cad828a

Browse files
update testcase
1 parent bda172e commit cad828a

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

test/load.test.ts

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -434,16 +434,4 @@ describe("load", function () {
434434
expect(settings.get("TestKey")).eq("TestValue");
435435
restoreMocks();
436436
});
437-
438-
it("should throw error when snapshot composition type is not key", async () => {
439-
const snapshotName = "Test";
440-
mockAppConfigurationClientGetSnapshot(snapshotName, {compositionType: "key_label"});
441-
const connectionString = createMockedConnectionString();
442-
await expect(load(connectionString, {
443-
selectors: [{
444-
snapshotName: snapshotName
445-
}]
446-
})).to.eventually.be.rejectedWith(`Composition type for the selected snapshot with name ${snapshotName} must be 'key'.`);
447-
restoreMocks();
448-
});
449437
});

0 commit comments

Comments
 (0)