Fix typo in size-* tests (#12289)
* Update size.test.js * Fix test --------- Co-authored-by: Jordan Pittman <jordan@cryptica.me>
This commit is contained in:
parent
e4b32a7a32
commit
c92596f549
2 changed files with 12 additions and 2 deletions
|
|
@ -302,6 +302,16 @@ exports[`should test the 'size' plugin 1`] = `
|
|||
height: 24rem;
|
||||
}
|
||||
|
||||
.size-\\[12px\\] {
|
||||
width: 12px;
|
||||
height: 12px;
|
||||
}
|
||||
|
||||
.size-\\[var\\(--my-value\\)\\] {
|
||||
width: var(--my-value);
|
||||
height: var(--my-value);
|
||||
}
|
||||
|
||||
.size-auto {
|
||||
width: auto;
|
||||
height: auto;
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@ import { quickPluginTest } from '../util/run'
|
|||
quickPluginTest('size', {
|
||||
safelist: [
|
||||
// Arbitrary values
|
||||
's-[12px]',
|
||||
's-[var(--my-value)]',
|
||||
'size-[12px]',
|
||||
'size-[var(--my-value)]',
|
||||
],
|
||||
}).toMatchSnapshot()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue