Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
Signed-off-by: Onur Sumer <s.onur.sumer@gmail.com>
  • Loading branch information
onursumer committed May 19, 2022
1 parent 035ad3a commit e839eb1
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/config/jest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ const config: InitialOptionsTsJest = {
'\\.(css|sass|less|scss)$': 'identity-obj-proxy',
'\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$':
'<rootDir>/../config/fileMock.js',
'web-worker:*': 'identity-obj-proxy',
},
globals: {
'ts-jest': {
Expand Down
3 changes: 3 additions & 0 deletions packages/oncoprintjs/src/test.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
declare module '*.svg';
declare module 'gl-matrix';
declare module 'web-worker:*';
9 changes: 9 additions & 0 deletions packages/oncoprintjs/tsconfig.test.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"extends": "../config/tsconfig.test.json",
"compilerOptions": {
"strictNullChecks": false
},
"include": [
"src/test.d.ts"
]
}

0 comments on commit e839eb1

Please sign in to comment.