-
Notifications
You must be signed in to change notification settings - Fork 439
Expand file tree
/
Copy pathhydration.js
More file actions
19 lines (18 loc) · 878 Bytes
/
hydration.js
File metadata and controls
19 lines (18 loc) · 878 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// Use native shadow by default in hydration tests; MUST be set before imports
process.env.DISABLE_SYNTHETIC ??= 'true';
import baseConfig from './base.js';
import hydrationTestPlugin from './plugins/serve-hydration.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-hydration/**/*.spec.js',
// FIXME: hits timeout?
'!test-hydration/light-dom/scoped-styles/replace-scoped-styles-with-dynamic-templates/index.spec.js',
// FIXME: This uses ENABLE_SYNTHETIC_SHADOW_IN_MIGRATION to detect status,
// we should just use DISABLE_SYNTHETIC instead
'!test-hydration/synthetic-shadow/index.spec.js',
],
plugins: [...baseConfig.plugins, hydrationTestPlugin],
};