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:
Ahmed Abdelbaset 2023-10-25 20:54:28 +03:00 • committed by GitHub
parent e4b32a7a32
commit c92596f549
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 12 additions and 2 deletions

View file

@ -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;

View file

@ -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()