Skip to content

Commit

Permalink
Better test for apply
Browse files Browse the repository at this point in the history
  • Loading branch information
ai committed May 4, 2019
1 parent 61015e1 commit b47c023
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 10 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
"jest-cli": "^24.7.1",
"jsdoc": "^3.5.5",
"lint-staged": "^8.1.5",
"postcss-parser-tests": "^6.5.0",
"postcss-parser-tests": "6.3.1",
"run-sequence": "^2.2.1",
"size-limit": "^1.0.1",
"strip-ansi": "^5.2.0",
Expand Down
2 changes: 1 addition & 1 deletion test/parse.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ it('works with file reads', () => {
})

cases.each((name, css, json) => {
if (name !== 'custom-properties.css' && name !== 'apply.css') {
if (name !== 'custom-properties.css') {
it('parses ' + name, () => {
let parsed = cases.jsonify(parse(css, { from: name }))
expect(parsed).toEqual(json)
Expand Down
1 change: 0 additions & 1 deletion test/stringify.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ let parse = require('../lib/parse')
cases.each((name, css) => {
if (name === 'bom.css') return
if (name === 'apply.css') return
if (name === 'custom-properties.css') return

it('stringifies ' + name, () => {
let root = parse(css)
Expand Down
14 changes: 7 additions & 7 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3454,7 +3454,7 @@ eyo-kernel@^2.5.0:
resolved "https://registry.yarnpkg.com/eyo-kernel/-/eyo-kernel-2.5.1.tgz#2027236f34f49c589112fffdfcbae946caf0cdfa"
integrity sha512-j1XA6t+shZySaT+yYKSGN5c05z5sNtqod8NtxSz/z+mZwrBS3IJ2LmmItekkxRDS6sgcEoOK6hTBezfK+R68eA==

fancy-log@^1.3.2, fancy-log@^1.3.3:
fancy-log@^1.3.2:
version "1.3.3"
resolved "https://registry.yarnpkg.com/fancy-log/-/fancy-log-1.3.3.tgz#dbc19154f558690150a23953a0adbd035be45fc7"
integrity sha512-k9oEhlyc0FrVh25qYuSELjr8oxsCoc4/LEZfg2iJJrfEk/tZL9bCoJE47gqAvI2m/AUjluCS4+3I0eTx8n3AEw==
Expand Down Expand Up @@ -7028,13 +7028,13 @@ postcss-ordered-values@^4.1.2:
postcss "^7.0.0"
postcss-value-parser "^3.0.0"

postcss-parser-tests@^6.5.0:
version "6.5.0"
resolved "https://registry.yarnpkg.com/postcss-parser-tests/-/postcss-parser-tests-6.5.0.tgz#254341c280dd8d65e53e2f09f5494b2f18795185"
integrity sha512-cu4ZyT7d9wYtu3c53ctmysICecoznJquYxLMJHxNhjZdsk3kycAmU31cHp37guVTUSVWXXi37idRBMRvRfe+rA==
postcss-parser-tests@6.3.1:
version "6.3.1"
resolved "https://registry.yarnpkg.com/postcss-parser-tests/-/postcss-parser-tests-6.3.1.tgz#aacaba481b3cd1b9710df445e7d774c687fbe244"
integrity sha512-GL74Di0wqtE+2i/Q74MyJ2D6+XLVYHaM4TbD+/fd08qa2406dtEoNZqS1aLTvTJG5/tjKvCIPjJHx6q3aCdnvg==
dependencies:
chalk "^2.4.2"
fancy-log "^1.3.3"
chalk "^2.4.1"
fancy-log "^1.3.2"
load-resources "^0.1.1"
plugin-error "^1.0.1"

Expand Down

0 comments on commit b47c023

Please sign in to comment.