Skip to content

Commit

Permalink
fixed tests
Browse files Browse the repository at this point in the history
  • Loading branch information
niborium committed Nov 23, 2023
1 parent 73ac697 commit 59fb67e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
4 changes: 2 additions & 2 deletions test/integration/sd-transforms.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ describe('sd-transforms smoke tests', () => {
--sdFontWeightsBodyRegular: 400;
--sdFontSizesH6: 16px;
--sdFontSizesBody: 16px;
--sdHeading6: 700 16px/1 'Arial Black', 'Suisse Int\\'l', sans-serif;
--sdHeading6: 700 16px/1 'Arial Black', 'Suisse intl', sans-serif;
--sdShadowBlur: 10px;
--sdShadow: inset 0 4px 10px 0 rgba(0,0,0,0.4);
--sdBorderWidth: 5px;
Expand Down Expand Up @@ -115,7 +115,7 @@ describe('sd-transforms smoke tests', () => {
--sd-font-weights-body-regular: 400;
--sd-font-sizes-h6: 16px;
--sd-font-sizes-body: 16px;
--sd-heading-6: 700 16px/1 'Arial Black', 'Suisse Int\\'l', sans-serif;
--sd-heading-6: 700 16px/1 'Arial Black', 'Suisse intl', sans-serif;
--sd-shadow-blur: 10px;
--sd-shadow: inset 0 4px 10px 0 rgba(0,0,0,0.4);
--sd-border-width: 5px;
Expand Down
7 changes: 3 additions & 4 deletions test/spec/css/transformFontFamilies.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,9 @@ describe('process font family', () => {
expect(processFontFamily('Arial Black, Times New Roman, Foo, sans-serif')).to.equal(
`'Arial Black', 'Times New Roman', Foo, sans-serif`,
);
expect(processFontFamily(`'Arial Black', Times New Roman, Foo, sans-serif`)).to.equal(
`'Arial Black', 'Times New Roman', Foo, sans-serif`,
);
expect(processFontFamily("Suisse Int'l")).to.equal("'Suisse intl'");
expect(
processFontFamily(`'Arial Black', Times New Roman, Suisse Int'l, Foo, sans-serif`),
).to.equal(`'Arial Black', 'Times New Roman', 'Suisse intl', Foo, sans-serif`);
});
});

Expand Down

0 comments on commit 59fb67e

Please sign in to comment.