mirror of
https://github.com/prymitive/karma
synced 2026-05-05 03:16:51 +00:00
fix(tests): update tests
This commit is contained in:
committed by
Łukasz Mierzwa
parent
12dc90356c
commit
33100f01f8
@@ -126,7 +126,7 @@ describe("<AlertAck />", () => {
|
||||
},
|
||||
});
|
||||
const tree = MountedAlertAck();
|
||||
expect(tree.html()).toBe("");
|
||||
expect(tree.html()).toBeNull();
|
||||
});
|
||||
|
||||
it("uses faCheck icon when idle", () => {
|
||||
|
||||
@@ -60,12 +60,12 @@ describe("<AppToasts />", () => {
|
||||
it("doesn't render anything when alertStore.info.upgradeNeeded=true", () => {
|
||||
alertStore.info.setUpgradeNeeded(true);
|
||||
const tree = mount(<AppToasts alertStore={alertStore} />);
|
||||
expect(tree.html()).toBe("");
|
||||
expect(tree.html()).toBeNull();
|
||||
});
|
||||
|
||||
it("doesn't render anything when there are no notifications to show", () => {
|
||||
const tree = mount(<AppToasts alertStore={alertStore} />);
|
||||
expect(tree.html()).toBe("");
|
||||
expect(tree.html()).toBeNull();
|
||||
});
|
||||
|
||||
it("renders upstream error toasts for each unhealthy upstream", () => {
|
||||
|
||||
Reference in New Issue
Block a user