Skip to content

Commit

Permalink
fix(tests): remove variable definition for mock
Browse files Browse the repository at this point in the history
Signed-off-by: Trae Yelovich <[email protected]>
  • Loading branch information
traeok committed Oct 9, 2024
1 parent 1b0ef7f commit 15e3d47
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ const secureConfigs: IConfigSecure = {
describe("Config secure tests", () => {
let mockSecureLoad = jest.fn();
let mockSecureSave = jest.fn();
let mockGetZoweProcessor = jest.spyOn(EventOperator, "getZoweProcessor").mockReturnValue({ emitZoweEvent: jest.fn() } as any);
jest.spyOn(EventOperator, "getZoweProcessor").mockReturnValue({ emitZoweEvent: jest.fn() } as any);
let mockVault: IConfigVault = {
load: mockSecureLoad,
save: mockSecureSave
Expand Down

0 comments on commit 15e3d47

Please sign in to comment.