Skip to content

Commit

Permalink
did these changes on a fresh branch, last PR was very stale codebase (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
happycodemonkey authored and chandra-tacc committed Sep 13, 2023
1 parent ccccf91 commit 0eeec05
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
2 changes: 1 addition & 1 deletion client/jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ module.exports = {
// unmockedModulePathPatterns: undefined,

// Indicates whether each individual test should be reported during the run
// verbose: undefined,
verbose: true,

// An array of regexp patterns that are matched against all source file paths before re-running tests in watch mode
// watchPathIgnorePatterns: [],
Expand Down
10 changes: 10 additions & 0 deletions client/jest.setup.js
Original file line number Diff line number Diff line change
@@ -1 +1,11 @@
jest.mock('@niivue/niivue', () => {});

global.console = {
...console,
// uncomment to ignore a specific log level
//log: jest.fn(),
//debug: jest.fn(),
//info: jest.fn(),
//warn: jest.fn(),
//error: jest.fn(),
};

0 comments on commit 0eeec05

Please sign in to comment.