Skip to content
This repository has been archived by the owner on Nov 26, 2024. It is now read-only.

Commit

Permalink
Fixing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
georgewrmarshall committed May 5, 2022
1 parent a6c7364 commit 732312b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/js/typography/typography.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ describe('Typography Small Screen', () => {
expect(typography.sHeadingSMRegular.fontFamily).toStrictEqual(
designTokens.global.fontFamilies['euclid-circular-b'].value,
);
expect(typography.sHeadingSMRegular.fontWeight).toStrictEqual(700);
expect(typography.sHeadingSMRegular.fontWeight).toStrictEqual(400);
expect(typography.sHeadingSMRegular.fontSize.toString()).toStrictEqual(
designTokens.global.fontSize[3].value,
);
Expand All @@ -80,7 +80,7 @@ describe('Typography Small Screen', () => {
expect(typography.sHeadingSM.fontFamily).toStrictEqual(
designTokens.global.fontFamilies['euclid-circular-b'].value,
);
expect(typography.sHeadingSM.fontWeight).toStrictEqual(400);
expect(typography.sHeadingSM.fontWeight).toStrictEqual(700);
expect(typography.sHeadingSM.fontSize.toString()).toStrictEqual(
designTokens.global.fontSize[3].value,
);
Expand Down Expand Up @@ -244,7 +244,7 @@ describe('Typography Large Screen', () => {
expect(typography.lHeadingSMRegular.fontFamily).toStrictEqual(
designTokens.global.fontFamilies['euclid-circular-b'].value,
);
expect(typography.lHeadingSMRegular.fontWeight).toStrictEqual(700);
expect(typography.lHeadingSMRegular.fontWeight).toStrictEqual(400);
expect(typography.lHeadingSMRegular.fontSize.toString()).toStrictEqual(
designTokens.global.fontSize[4].value,
);
Expand All @@ -262,7 +262,7 @@ describe('Typography Large Screen', () => {
expect(typography.lHeadingSM.fontFamily).toStrictEqual(
designTokens.global.fontFamilies['euclid-circular-b'].value,
);
expect(typography.lHeadingSM.fontWeight).toStrictEqual(400);
expect(typography.lHeadingSM.fontWeight).toStrictEqual(700);
expect(typography.lHeadingSM.fontSize.toString()).toStrictEqual(
designTokens.global.fontSize[4].value,
);
Expand Down

0 comments on commit 732312b

Please sign in to comment.