Skip to content

Commit

Permalink
fix(test): change expected unknown pseudo name
Browse files Browse the repository at this point in the history
  • Loading branch information
idoros committed Dec 30, 2023
1 parent 86372ac commit 978e3a8
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions packages/core/test/features/st-structure.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,13 +58,15 @@ describe('@st structure', () => {
it('should prevent automatic .class=>::part definition', () => {
testStylableCore(`
@st .root;
.part {}
.customPart {}
/*
@transform-error ${transformerStringDiagnostics.UNKNOWN_PSEUDO_ELEMENT(`part`)}
@rule .entry__root::part
@transform-error ${transformerStringDiagnostics.UNKNOWN_PSEUDO_ELEMENT(
`customPart`
)}
@rule .entry__root::customPart
*/
.root::part {}
.root::customPart {}
`);
});
it('should register css class', () => {
Expand Down

0 comments on commit 978e3a8

Please sign in to comment.