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 160f30a commit 994c10eCopy full SHA for 994c10e
test/load.test.ts
@@ -439,11 +439,11 @@ describe("load", function () {
439
const snapshotName = "Test";
440
mockAppConfigurationClientGetSnapshot(snapshotName, {compositionType: "key_label"});
441
const connectionString = createMockedConnectionString();
442
- expect(load(connectionString, {
+ await expect(load(connectionString, {
443
selectors: [{
444
snapshotName: snapshotName
445
}]
446
- })).eventually.rejectedWith(`Composition type for the selected snapshot with name ${snapshotName} must be 'key'.`);
+ })).to.eventually.be.rejectedWith(`Composition type for the selected snapshot with name ${snapshotName} must be 'key'.`);
447
restoreMocks();
448
});
449
0 commit comments