Skip to content

Commit

Permalink
fix(tests): fix packages mock names
Browse files Browse the repository at this point in the history
  • Loading branch information
burgerni10 authored and Nicolas Burger committed Dec 14, 2022
1 parent bd4925a commit 592e03a
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -136,9 +136,10 @@
"globalSetup": "./tests/jest-config.js",
"coverageDirectory": "./tests/coverage",
"moduleNameMapper": {
"\\.(jpg|ico|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "<rootDir>/tests/__mocks__/fileMock.js",
"monaco-editor": "<rootDir>/tests/__mocks__/monacoEditorMock.js",
"nanoid": "<rootDir>/tests/__mocks__/nanoidMock.js"
"\\.(jpg|ico|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "<rootDir>/tests/__mocks__/file.mock.js",
"monaco-editor": "<rootDir>/tests/__mocks__/monaco-editor.mock.js",
"nanoid": "<rootDir>/tests/__mocks__/nanoid.mock.js",
"oracledb": "<rootDir>/tests/__mocks__/oracledb.mock.js"
}
},
"pkg": {
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 592e03a

Please sign in to comment.