diff --git a/src/StateLabel/__tests__/StateLabel.test.tsx b/src/StateLabel/__tests__/StateLabel.test.tsx index 537bd291b80..f4d1ccd8d14 100644 --- a/src/StateLabel/__tests__/StateLabel.test.tsx +++ b/src/StateLabel/__tests__/StateLabel.test.tsx @@ -32,6 +32,7 @@ describe('StateLabel', () => { expect(render()).toMatchSnapshot() expect(render()).toMatchSnapshot() expect(render()).toMatchSnapshot() + expect(render()).toMatchSnapshot() }) it('respects the variant prop', () => { diff --git a/src/StateLabel/__tests__/__snapshots__/StateLabel.test.tsx.snap b/src/StateLabel/__tests__/__snapshots__/StateLabel.test.tsx.snap index ba583e95a8c..3cfa27adfe5 100644 --- a/src/StateLabel/__tests__/__snapshots__/StateLabel.test.tsx.snap +++ b/src/StateLabel/__tests__/__snapshots__/StateLabel.test.tsx.snap @@ -350,6 +350,62 @@ exports[`StateLabel respects the status prop 4`] = ` `; +exports[`StateLabel respects the status prop 5`] = ` +.c1 { + margin-right: 4px; +} + +.c0 { + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + font-weight: 600; + line-height: 16px; + color: #ffffff; + text-align: center; + border-radius: 100px; + background-color: #9a6700; + color: #ffffff; + padding-left: 12px; + padding-right: 12px; + padding-top: 8px; + padding-bottom: 8px; + font-size: 14px; +} + + + + +`; + exports[`StateLabel respects the variant prop 1`] = ` .c1 { margin-right: 4px;