We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bda172e commit cad828aCopy full SHA for cad828a
test/load.test.ts
@@ -434,16 +434,4 @@ describe("load", function () {
434
expect(settings.get("TestKey")).eq("TestValue");
435
restoreMocks();
436
});
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
- });
449
0 commit comments