From 45d91b2c426f8fb150f07e7183638d2c2ac4ffd6 Mon Sep 17 00:00:00 2001 From: TJ Egan Date: Thu, 27 Aug 2020 13:09:28 -0700 Subject: [PATCH] chore(tests): update snapshots --- packages/components/docs/sass.md | 5 +++-- .../globals/grid/__tests__/__snapshots__/grid-test.js.snap | 2 +- packages/elements/docs/sass.md | 5 +++-- packages/themes/docs/sass.md | 2 +- packages/type/docs/sass.md | 3 ++- 5 files changed, 10 insertions(+), 7 deletions(-) diff --git a/packages/components/docs/sass.md b/packages/components/docs/sass.md index caf8a32e233e..b177bb4525d6 100644 --- a/packages/components/docs/sass.md +++ b/packages/components/docs/sass.md @@ -9035,7 +9035,7 @@ $productive-heading-06: if( ( font-size: 2.625rem, font-weight: 300, - line-height: 1.19, + line-height: 1.199, letter-spacing: 0, ) ); @@ -12760,7 +12760,8 @@ $productive-heading-05: ( $productive-heading-06: ( font-size: carbon--type-scale(8), font-weight: carbon--font-weight('light'), - line-height: 1.19, + // Extra digit needed for precision in Chrome + line-height: 1.199, letter-spacing: 0, ); ``` diff --git a/packages/components/src/globals/grid/__tests__/__snapshots__/grid-test.js.snap b/packages/components/src/globals/grid/__tests__/__snapshots__/grid-test.js.snap index 9e24dadc5393..3a34ef1279e8 100644 --- a/packages/components/src/globals/grid/__tests__/__snapshots__/grid-test.js.snap +++ b/packages/components/src/globals/grid/__tests__/__snapshots__/grid-test.js.snap @@ -4,7 +4,7 @@ exports[`_grid.scss should generate grid code when the grid feature flag is on 1 "h1 { font-size: 2.625rem; font-weight: 300; - line-height: 1.19; + line-height: 1.199; letter-spacing: 0; } h2 { diff --git a/packages/elements/docs/sass.md b/packages/elements/docs/sass.md index 18540dce1025..5762698ae2ba 100644 --- a/packages/elements/docs/sass.md +++ b/packages/elements/docs/sass.md @@ -8289,7 +8289,7 @@ $productive-heading-06: if( ( font-size: 2.625rem, font-weight: 300, - line-height: 1.19, + line-height: 1.199, letter-spacing: 0, ) ); @@ -12010,7 +12010,8 @@ $productive-heading-05: ( $productive-heading-06: ( font-size: carbon--type-scale(8), font-weight: carbon--font-weight('light'), - line-height: 1.19, + // Extra digit needed for precision in Chrome + line-height: 1.199, letter-spacing: 0, ); ``` diff --git a/packages/themes/docs/sass.md b/packages/themes/docs/sass.md index 8bfedfc065a9..d84986df208c 100644 --- a/packages/themes/docs/sass.md +++ b/packages/themes/docs/sass.md @@ -4725,7 +4725,7 @@ $productive-heading-06: if( ( font-size: 2.625rem, font-weight: 300, - line-height: 1.19, + line-height: 1.199, letter-spacing: 0, ) ); diff --git a/packages/type/docs/sass.md b/packages/type/docs/sass.md index e18d354f6500..3b45a515eaaa 100644 --- a/packages/type/docs/sass.md +++ b/packages/type/docs/sass.md @@ -2568,7 +2568,8 @@ $productive-heading-05: ( $productive-heading-06: ( font-size: carbon--type-scale(8), font-weight: carbon--font-weight('light'), - line-height: 1.19, + // Extra digit needed for precision in Chrome + line-height: 1.199, letter-spacing: 0, ); ```