Skip to content

Commit d6e6ff0

Browse files
committed
WOrked on tests.
1 parent 0c08fb6 commit d6e6ff0

File tree

3 files changed

+10
-2
lines changed

3 files changed

+10
-2
lines changed

.gitignore

+2-1
Original file line numberDiff line numberDiff line change
@@ -80,4 +80,5 @@ ehthumbs.db
8080
/node_modules/
8181
/dist/
8282
/documentation/
83-
.firebase/
83+
.firebase/
84+
.chrome/

karma.conf.js

+7
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
const {defaultResolvePlugins, defaultKarmaConfig} = require("@appnest/web-config");
2+
const path = require("path");
23

34
module.exports = (config) => {
45
config.set({
@@ -19,6 +20,12 @@ module.exports = (config) => {
1920
mocha: {
2021
bail: true
2122
}
23+
},
24+
customLaunchers: {
25+
Chrome_with_debugging: {
26+
base: "Chrome",
27+
chromeDataDir: path.resolve(__dirname, '.chrome')
28+
}
2229
}
2330
});
2431
};

src/lib/button/button-element.test.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -71,8 +71,8 @@ describe("button-element", () => {
7171
$button.tabIndex = 123;
7272
await $button.updateComplete;
7373

74+
7475
expect($button.getAttribute("tabindex")).to.equal("123");
7576
});
76-
7777
});
7878

0 commit comments

Comments
 (0)