Skip to content

Commit d2b7c71

Browse files
committed
test(ssr-compiler): fix style dedupe param
1 parent d96efc9 commit d2b7c71

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
22
"entry": "x/parent",
3-
"styleDedupePrefix": "island1"
3+
"styleDedupe": "island1"
44
}

packages/@lwc/ssr-compiler/src/__tests__/fixtures.spec.ts

+2-3
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ interface FixtureConfig {
3232
};
3333

3434
/** The string used to uniquely identify one set of dedupe IDs with multiple SSR islands */
35-
styleDedupePrefix?: string;
35+
styleDedupe?: string;
3636
}
3737

3838
vi.mock('@lwc/ssr-runtime', async () => {
@@ -127,8 +127,7 @@ describe.concurrent('fixtures', () => {
127127
'fixture-test',
128128
module,
129129
config?.props ?? {},
130-
config?.styleDedupePrefix ?? '',
131-
true,
130+
config?.styleDedupe ?? true,
132131
SSR_MODE
133132
)
134133
);

0 commit comments

Comments
 (0)