Skip to content

Commit

Permalink
update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Zn4rK committed Jan 16, 2024
1 parent addd59f commit dc07c39
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/engine/tests/src/printers/printStyleBlock.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ describe('printStyleBlock', () => {
const result = printStyleBlocks(blocks);

expect(result).toMatchInlineSnapshot(
`"@container (min-width: 100px){.a1{background:green}}@container named (min-width: 100px){.b1{color:green}}@container named (min-width: 100px) and (min-width: 200px){.b2{color:red}}"`,
`"@container (min-width: 100px){.a1{background:green}}@container named (min-width: 100px){.b1{color:green}}@container named (min-width: 100px) and (min-width: 200px){.c1{color:red}}"`,
);
});

Expand Down Expand Up @@ -174,7 +174,7 @@ describe('printStyleBlock', () => {
const result = printStyleBlocks(blocks);

expect(result).toMatchInlineSnapshot(
`"@media (min-width: 100px){.a1{background:green}@container (min-width: 100px){.d1{color:green}@supports (display: grid){.b1{color:green}}}.c1{background:green}}"`,
`"@media (min-width: 100px){.a1{background:green}@container (min-width: 100px){.c1{color:green}@supports (display: grid){.b1{color:green}}}.a1{background:green}}"`,
);
});
});

0 comments on commit dc07c39

Please sign in to comment.