Skip to content

Commit

Permalink
test(ssr-compiler): fix style dedupe param
Browse files Browse the repository at this point in the history
  • Loading branch information
wjhsf committed Mar 7, 2025
1 parent d96efc9 commit d2b7c71
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"entry": "x/parent",
"styleDedupePrefix": "island1"
"styleDedupe": "island1"
}
5 changes: 2 additions & 3 deletions packages/@lwc/ssr-compiler/src/__tests__/fixtures.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ interface FixtureConfig {
};

/** The string used to uniquely identify one set of dedupe IDs with multiple SSR islands */
styleDedupePrefix?: string;
styleDedupe?: string;
}

vi.mock('@lwc/ssr-runtime', async () => {
Expand Down Expand Up @@ -127,8 +127,7 @@ describe.concurrent('fixtures', () => {
'fixture-test',
module,
config?.props ?? {},
config?.styleDedupePrefix ?? '',
true,
config?.styleDedupe ?? true,
SSR_MODE
)
);
Expand Down

0 comments on commit d2b7c71

Please sign in to comment.