-
Notifications
You must be signed in to change notification settings - Fork 46
/
Copy pathweb-test-runner.config.mjs
29 lines (28 loc) · 1.27 KB
/
web-test-runner.config.mjs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
import { importMapsPlugin } from "@web/dev-server-import-maps";
export default {
plugins: [
importMapsPlugin({
inject: {
importMap: {
imports: {
"lit-html": "/node_modules/lit-html/lit-html.js",
"lit-html/": "/node_modules/lit-html/",
"lit-element": "/node_modules/lit-element/lit-element.js",
"chai/": "/node_modules/chai/",
"@open-wc/testing": "/node_modules/@open-wc/testing/index.js",
"@open-wc/testing/": "/node_modules/@open-wc/testing/",
"@open-wc/testing-helpers": "/node_modules/@open-wc/testing-helpers/index.js",
"@open-wc/testing-helpers/": "/node_modules/@open-wc/testing-helpers/",
"@open-wc/semantic-dom-diff": "/node_modules/@open-wc/semantic-dom-diff/index.js",
"@open-wc/scoped-elements": "/node_modules/@open-wc/scoped-elements/index.js",
"@open-wc/dedupe-mixin": "/node_modules/@open-wc/dedupe-mixin/index.js",
"chai-a11y-axe": "/node_modules/chai-a11y-axe/index.js",
"chai-dom": "/node_modules/chai-dom/chai-dom.js",
"sinon-chai": "/node_modules/sinon-chai/lib/sinon-chai.js",
"axe-core/": "/node_modules/axe-core/",
},
},
},
}),
],
};