fix tests
parent
8f2ca0a6b4
commit
e39c398f48
|
@ -4459,6 +4459,17 @@
|
|||
"integrity": "sha1-AerA/jta9xoqbAL+q7jB/vfgDqs=",
|
||||
"dev": true
|
||||
},
|
||||
"postcss": {
|
||||
"version": "7.0.27",
|
||||
"resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.27.tgz",
|
||||
"integrity": "sha512-WuQETPMcW9Uf1/22HWUWP9lgsIC+KEHg2kozMflKjbeUtw9ujvFX6QmIfozaErDkmLWS9WEnEdEe6Uo9/BNTdQ==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"chalk": "^2.4.2",
|
||||
"source-map": "^0.6.1",
|
||||
"supports-color": "^6.1.0"
|
||||
}
|
||||
},
|
||||
"postcss-selector-parser": {
|
||||
"version": "6.0.2",
|
||||
"resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-6.0.2.tgz",
|
||||
|
@ -5300,6 +5311,15 @@
|
|||
"integrity": "sha512-BrpvfNAE3dcvq7ll3xVumzjKjZQ5tI1sEUIKr3Uoks0XUl45St3FlatVqef9prk4jRDzhW6WZg+3bk93y6pLjA==",
|
||||
"dev": true
|
||||
},
|
||||
"supports-color": {
|
||||
"version": "6.1.0",
|
||||
"resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz",
|
||||
"integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"has-flag": "^3.0.0"
|
||||
}
|
||||
},
|
||||
"supports-hyperlinks": {
|
||||
"version": "2.1.0",
|
||||
"resolved": "https://registry.npmjs.org/supports-hyperlinks/-/supports-hyperlinks-2.1.0.tgz",
|
||||
|
|
|
@ -27,6 +27,7 @@
|
|||
"devDependencies": {
|
||||
"@zeit/ncc": "^0.21.1",
|
||||
"esm": "^3.2.25",
|
||||
"jest": "^25.1.0"
|
||||
"jest": "^25.1.0",
|
||||
"postcss": "^7.0.27"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -121,9 +121,9 @@ test('foo', async () => {
|
|||
})
|
||||
})
|
||||
|
||||
test.only('processes basic css', async () => {
|
||||
test('processes basic css', async () => {
|
||||
const result = await processCss(`
|
||||
.bg-red\\:foo {
|
||||
.bg-red {
|
||||
background-color: red;
|
||||
}
|
||||
`)
|
||||
|
|
Loading…
Reference in New Issue