Skip to content

Commit

Permalink
test: minimal repro of salesforce#4154
Browse files Browse the repository at this point in the history
  • Loading branch information
nolanlawson committed Apr 16, 2024
1 parent 840999a commit 3a135df
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,14 @@ if (process.env.NODE_ENV !== 'production') {
display: 'flex',
opacity: '1',
});

swapStyle(stylesV1[0], stylesV2[0]);

await Promise.resolve();
expectStyles(extractDataIds(elm).paragraph, {
display: 'block',
opacity: '0.5',
});
});

it('should replace the same stylesheet in multiple components', async () => {
Expand Down

0 comments on commit 3a135df

Please sign in to comment.