mirror of
https://github.com/prymitive/karma
synced 2026-05-15 04:06:41 +00:00
fix(tests): add missing coverage cases for SilenceFormStore
This commit is contained in:
@@ -70,6 +70,11 @@ describe("SilenceFormStore.data", () => {
|
||||
);
|
||||
});
|
||||
|
||||
it("deleteMatcher() is a no-op when matcher list is empty", () => {
|
||||
store.data.deleteMatcher(1);
|
||||
expect(store.data.matchers).toHaveLength(0);
|
||||
});
|
||||
|
||||
it("fillMatchersFromGroup() creates correct matcher object for a group", () => {
|
||||
const group = MockGroup();
|
||||
store.data.fillMatchersFromGroup(group);
|
||||
|
||||
Reference in New Issue
Block a user