Skip to content

Commit 58ff6c3

Browse files
update testcase
1 parent 7a246d9 commit 58ff6c3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/load.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ describe("load", function () {
142142
selectors: [{
143143
labelFilter: "\0"
144144
}]
145-
})).eventually.rejectedWith("Key filter cannot be null or empty.");
145+
})).eventually.rejectedWith("Key filter and tag filter cannot both be null or empty.");
146146
});
147147

148148
it("should throw error given invalid snapshot selector", async () => {
@@ -152,7 +152,7 @@ describe("load", function () {
152152
snapshotName: "Test",
153153
labelFilter: "\0"
154154
}]
155-
})).eventually.rejectedWith("Key or label filter should not be used for a snapshot.");
155+
})).eventually.rejectedWith("Key, label or tag filter should not be used for a snapshot.");
156156
});
157157

158158
it("should not include feature flags directly in the settings", async () => {

0 commit comments

Comments
 (0)