-
Notifications
You must be signed in to change notification settings - Fork 439
Expand file tree
/
Copy pathintegration.js
More file actions
32 lines (27 loc) · 1.12 KB
/
integration.js
File metadata and controls
32 lines (27 loc) · 1.12 KB
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
30
31
32
import { importMapsPlugin } from '@web/dev-server-import-maps';
import baseConfig from './base.js';
import testPlugin from './plugins/serve-integration.js';
/** @type {import("@web/test-runner").TestRunnerConfig} */
export default {
...baseConfig,
files: [
// FIXME: These tests are just symlinks to integration-karma for now so the git diff smaller
'test/**/*.spec.js',
// Hacky nonsense highly tailored to Karma
'!test/custom-elements-registry/index.spec.js',
// Logging mismatches
'!test/component/LightningElement.addEventListener/index.spec.js',
// Implement objectContaining / arrayWithExactContents
'!test/profiler/mutation-logging/index.spec.js',
// Broken in CI?
'!test/lwc-on/index.spec.js',
'!test/api/sanitizeAttribute/index.spec.js',
'!test/template-expressions/errors/index.spec.js',
'!test/template-expressions/smoke-test/index.spec.js',
],
plugins: [
...baseConfig.plugins,
importMapsPlugin({ inject: { importMap: { imports: { lwc: './mocks/lwc.js' } } } }),
testPlugin,
],
};