Enable strictPropertyInitialization (#11203)
This commit is contained in:
parent
4207d182cd
commit
cfd48b36aa
38 changed files with 97 additions and 117 deletions
|
@ -79,7 +79,7 @@ describe("<EventIndexPanel />", () => {
|
|||
jest.spyOn(SettingsStore, "getValueAt").mockReturnValue(true);
|
||||
|
||||
// @ts-ignore private property
|
||||
EventIndexPeg.error = { message: "Test error message" };
|
||||
EventIndexPeg.error = new Error("Test error message");
|
||||
});
|
||||
|
||||
it("displays an error when no event index is found and enabling not in progress", () => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue