Skip to content

Commit

Permalink
no console outputs during log
Browse files Browse the repository at this point in the history
  • Loading branch information
rlindner81 committed Jun 5, 2024
1 parent 1fa8b63 commit 0992ec3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/context.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,10 @@ const mockRuntimeConfig = {
hdiAppName: "hdi-app",
srvAppName: "srv-app",
};

jest.spyOn(console, "log").mockImplementation();
jest.spyOn(console, "error").mockImplementation();

describe("context tests", () => {
afterEach(() => {
jest.clearAllMocks();
Expand Down

0 comments on commit 0992ec3

Please sign in to comment.