Skip to content

Commit

Permalink
Add jest types to tsconfig
Browse files Browse the repository at this point in the history
  • Loading branch information
YouKnowBlom committed Jul 4, 2021
1 parent ec68029 commit c96cf97
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 5 deletions.
3 changes: 1 addition & 2 deletions src/__tests__/credentialManager.test.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
import { Configuration } from "../api/generated/configuration";

import {
credentialManager,
CredentialStore
credentialManager
} from "../api/credentialManager";

const serverId1 = "f4486b851af24255b3305fe614b81f01";
Expand Down
15 changes: 12 additions & 3 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@
"target": "ES2018",
"module": "ESNext",
"moduleResolution": "Node",
"lib": ["dom", "ESNext"],
"lib": [
"dom",
"ESNext"
],
"resolveJsonModule": true,
"allowSyntheticDefaultImports": true,
"allowJs": true,
Expand All @@ -12,8 +15,14 @@
"strict": true,
"baseUrl": "./src",
"paths": {
"~/*": ["./*"]
"~/*": [
"./*"
]
},
"types": ["@types/node", "@types/chromecast-caf-receiver"]
"types": [
"@types/node",
"@types/chromecast-caf-receiver",
"jest"
]
}
}

0 comments on commit c96cf97

Please sign in to comment.