Fix existing tests

This commit is contained in:
Oliver Davies 2019-04-23 21:41:00 +01:00
parent 6f66173812
commit 068aecad52

View file

@ -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
}
`)
})