File tree Expand file tree Collapse file tree 4 files changed +5
-5
lines changed
packages/@lwc/integration-not-karma/configs Expand file tree Collapse file tree 4 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 11// Use native shadow by default in hydration tests; MUST be set before imports
22process . env . DISABLE_SYNTHETIC ??= 'true' ;
3- import wrapHydrationTest from '../helpers/hydration-tests.mjs' ;
43import baseConfig from './base.mjs' ;
4+ import wrapHydrationTest from './plugins/serve-hydration.mjs' ;
55
66/** @type {import("@web/test-runner").TestRunnerConfig } */
77export default {
Original file line number Diff line number Diff line change 1- import customRollup from '../helpers/lwc.mjs' ;
21import baseConfig from './base.mjs' ;
2+ import customRollup from './plugins/serve-integration.mjs' ;
33
44/** @type {import("@web/test-runner").TestRunnerConfig } */
55export default {
Original file line number Diff line number Diff line change @@ -3,10 +3,10 @@ import vm from 'node:vm';
33import fs from 'node:fs/promises' ;
44import { rollup } from 'rollup' ;
55import lwcRollupPlugin from '@lwc/rollup-plugin' ;
6- import { DISABLE_STATIC_CONTENT_OPTIMIZATION , ENGINE_SERVER } from './options.mjs' ;
6+ import { DISABLE_STATIC_CONTENT_OPTIMIZATION , ENGINE_SERVER } from '../../helpers /options.mjs' ;
77const lwcSsr = await ( ENGINE_SERVER ? import ( '@lwc/engine-server' ) : import ( '@lwc/ssr-runtime' ) ) ;
88
9- const ROOT_DIR = path . join ( import . meta. dirname , '..' ) ;
9+ const ROOT_DIR = path . join ( import . meta. dirname , '../.. ' ) ;
1010
1111const context = {
1212 LWC : lwcSsr ,
Original file line number Diff line number Diff line change 77 COVERAGE ,
88 DISABLE_STATIC_CONTENT_OPTIMIZATION ,
99 DISABLE_SYNTHETIC_SHADOW_SUPPORT_IN_COMPILER ,
10- } from './options.mjs' ;
10+ } from '../../helpers /options.mjs' ;
1111
1212/** Cache reused between each compilation to speed up the compilation time. */
1313let cache ;
You can’t perform that action at this time.
0 commit comments