Skip to content

Commit 6330bfb

Browse files
committed
adding headless browser
1 parent b6cee0b commit 6330bfb

File tree

326 files changed

+13225
-104
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

326 files changed

+13225
-104
lines changed

.huskyrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
22
"hooks": {
3-
"pre-commit": "npm run pre-build && git add src/Version.ts && lint-staged && npm run lint && npm run test"
3+
"pre-commit": "npm run buid"
44
}
55
}

karma.conf.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
1-
require("isomorphic-fetch");
21
module.exports = function(config) {
32
config.set({
43
frameworks: ["mocha", "chai", "karma-typescript"],
5-
files: ["spec/**/*.ts", "src/**/*.ts"],
4+
files: ["test/common/**/*.ts", "src/**/*.ts", "test/browser/**/*.ts"],
65
preprocessors: {
7-
"**/*.ts": ["karma-typescript"], // *.tsx for React Jsx
6+
"**/*.ts": ["karma-typescript"],
87
},
98
karmaTypescriptConfig: {
10-
tsconfig: "tsconfig.json",
9+
tsconfig: "./test/tsconfig-es.json",
1110
},
11+
browsers: ["ChromeHeadless"],
1212
});
1313
};

0 commit comments

Comments
 (0)