Skip to content
This repository was archived by the owner on Dec 10, 2020. It is now read-only.

Commit d24af2d

Browse files
committed
Add tsconfig.karma and fix karma tests
1 parent a0cc860 commit d24af2d

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed

karma.conf.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@ module.exports = function (config) {
1313
karmaTypescriptConfig: {
1414
bundlerOptions: {
1515
entrypoints: /\.spec\.ts$/
16-
}
16+
},
17+
tsconfig: "./tsconfig.karma.json",
1718
},
1819

1920
browsers: ['FirefoxHeadless', 'ChromeHeadless'],

tsconfig.karma.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"extends": "@ethereumjs/config-typescript",
3+
"include": ["bin", "lib", "test"],
4+
"compilerOptions": {
5+
"typeRoots": [
6+
"node_modules/@polkadot/ts"
7+
],
8+
"skipLibCheck": true
9+
}
10+
}

0 commit comments

Comments
 (0)