Fix existing tests
This commit is contained in:
parent
6f66173812
commit
068aecad52
8
test.js
8
test.js
|
@ -32,7 +32,7 @@ test('it generates the correct classes with no variants', () => {
|
|||
return generatePluginCss().then(css => {
|
||||
expect(css).toMatchCss(`
|
||||
.test {
|
||||
display: block;
|
||||
display: block
|
||||
}
|
||||
`)
|
||||
})
|
||||
|
@ -42,15 +42,15 @@ test('it generates the correct classes with variants', () => {
|
|||
return generatePluginCss({ variants: ['hover', 'focus'] }).then(css => {
|
||||
expect(css).toMatchCss(`
|
||||
.test {
|
||||
display: block;
|
||||
display: block
|
||||
}
|
||||
|
||||
.hover\\:test:hover {
|
||||
display: block;
|
||||
display: block
|
||||
}
|
||||
|
||||
.focus\\:test:focus {
|
||||
display: block;
|
||||
display: block
|
||||
}
|
||||
`)
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue