Skip to content

Instantly share code, notes, and snippets.

@pomle
Created December 15, 2017 10:00
Show Gist options
  • Save pomle/283c6f16d0b4e4e5e4947ad58fce1abb to your computer and use it in GitHub Desktop.
Save pomle/283c6f16d0b4e4e5e4947ad58fce1abb to your computer and use it in GitHub Desktop.
➜ parcel git:(path) while true; do yarn test -- --grep 'should support bundling HTML'; done
yarn run v1.3.2
warning From Yarn 1.0 onwards, scripts don't require "--" for options to be forwarded. In a future version, any explicit "--" will be forwarded as-is to the scripts.
$ cross-env NODE_ENV=test mocha --grep 'should support bundling HTML'
html
1) should support bundling HTML
0 passing (3s)
1 failing
1) html should support bundling HTML:
AssertionError [ERR_ASSERTION]: 'js' == 'css'
+ expected - actual
-js
+css
at assertBundleTree (test/utils.js:97:12)
at tree.childBundles.forEach (test/utils.js:118:41)
at Array.forEach (<anonymous>)
at assertBundleTree (test/utils.js:118:23)
at Context.<anonymous> (test/html.js:9:5)
at <anonymous>
at process._tickCallback (internal/process/next_tick.js:188:7)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
yarn run v1.3.2
warning From Yarn 1.0 onwards, scripts don't require "--" for options to be forwarded. In a future version, any explicit "--" will be forwarded as-is to the scripts.
$ cross-env NODE_ENV=test mocha --grep 'should support bundling HTML'
html
✓ should support bundling HTML (2959ms)
1 passing (3s)
Done in 4.20s.
yarn run v1.3.2
warning From Yarn 1.0 onwards, scripts don't require "--" for options to be forwarded. In a future version, any explicit "--" will be forwarded as-is to the scripts.
$ cross-env NODE_ENV=test mocha --grep 'should support bundling HTML'
html
✓ should support bundling HTML (2790ms)
1 passing (3s)
Done in 4.02s.
yarn run v1.3.2
warning From Yarn 1.0 onwards, scripts don't require "--" for options to be forwarded. In a future version, any explicit "--" will be forwarded as-is to the scripts.
$ cross-env NODE_ENV=test mocha --grep 'should support bundling HTML'
html
1) should support bundling HTML
0 passing (3s)
1 failing
1) html should support bundling HTML:
AssertionError [ERR_ASSERTION]: 1 == 2
+ expected - actual
-1
+2
at assertBundleTree (test/utils.js:117:12)
at Context.<anonymous> (test/html.js:9:5)
at <anonymous>
at process._tickCallback (internal/process/next_tick.js:188:7)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
yarn run v1.3.2
warning From Yarn 1.0 onwards, scripts don't require "--" for options to be forwarded. In a future version, any explicit "--" will be forwarded as-is to the scripts.
$ cross-env NODE_ENV=test mocha --grep 'should support bundling HTML'
html
✓ should support bundling HTML (2767ms)
1 passing (3s)
Done in 4.00s.
yarn run v1.3.2
warning From Yarn 1.0 onwards, scripts don't require "--" for options to be forwarded. In a future version, any explicit "--" will be forwarded as-is to the scripts.
$ cross-env NODE_ENV=test mocha --grep 'should support bundling HTML'
html
1) should support bundling HTML
0 passing (3s)
1 failing
1) html should support bundling HTML:
AssertionError [ERR_ASSERTION]: 3 == 2
+ expected - actual
-3
+2
at assertBundleTree (test/utils.js:117:12)
at Context.<anonymous> (test/html.js:9:5)
at <anonymous>
at process._tickCallback (internal/process/next_tick.js:188:7)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
yarn run v1.3.2
warning From Yarn 1.0 onwards, scripts don't require "--" for options to be forwarded. In a future version, any explicit "--" will be forwarded as-is to the scripts.
$ cross-env NODE_ENV=test mocha --grep 'should support bundling HTML'
html
✓ should support bundling HTML (2745ms)
1 passing (3s)
Done in 3.94s.
yarn run v1.3.2
warning From Yarn 1.0 onwards, scripts don't require "--" for options to be forwarded. In a future version, any explicit "--" will be forwarded as-is to the scripts.
$ cross-env NODE_ENV=test mocha --grep 'should support bundling HTML'
html
1) should support bundling HTML
0 passing (3s)
1 failing
1) html should support bundling HTML:
AssertionError [ERR_ASSERTION]: 'js' == 'css'
+ expected - actual
-js
+css
at assertBundleTree (test/utils.js:97:12)
at tree.childBundles.forEach (test/utils.js:118:41)
at Array.forEach (<anonymous>)
at assertBundleTree (test/utils.js:118:23)
at Context.<anonymous> (test/html.js:9:5)
at <anonymous>
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
yarn run v1.3.2
warning From Yarn 1.0 onwards, scripts don't require "--" for options to be forwarded. In a future version, any explicit "--" will be forwarded as-is to the scripts.
$ cross-env NODE_ENV=test mocha --grep 'should support bundling HTML'
html
1) should support bundling HTML
0 passing (3s)
1 failing
1) html should support bundling HTML:
AssertionError [ERR_ASSERTION]: 1 == 2
+ expected - actual
-1
+2
at assertBundleTree (test/utils.js:117:12)
at Context.<anonymous> (test/html.js:9:5)
at <anonymous>
at process._tickCallback (internal/process/next_tick.js:188:7)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
yarn run v1.3.2
warning From Yarn 1.0 onwards, scripts don't require "--" for options to be forwarded. In a future version, any explicit "--" will be forwarded as-is to the scripts.
$ cross-env NODE_ENV=test mocha --grep 'should support bundling HTML'
html
1) should support bundling HTML
0 passing (3s)
1 failing
1) html should support bundling HTML:
AssertionError [ERR_ASSERTION]: 1 == 2
+ expected - actual
-1
+2
at assertBundleTree (test/utils.js:117:12)
at Context.<anonymous> (test/html.js:9:5)
at <anonymous>
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
yarn run v1.3.2
warning From Yarn 1.0 onwards, scripts don't require "--" for options to be forwarded. In a future version, any explicit "--" will be forwarded as-is to the scripts.
$ cross-env NODE_ENV=test mocha --grep 'should support bundling HTML'
html
1) should support bundling HTML
0 passing (3s)
1 failing
1) html should support bundling HTML:
AssertionError [ERR_ASSERTION]: 'js' == 'css'
+ expected - actual
-js
+css
at assertBundleTree (test/utils.js:97:12)
at tree.childBundles.forEach (test/utils.js:118:41)
at Array.forEach (<anonymous>)
at assertBundleTree (test/utils.js:118:23)
at Context.<anonymous> (test/html.js:9:5)
at <anonymous>
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
yarn run v1.3.2
warning From Yarn 1.0 onwards, scripts don't require "--" for options to be forwarded. In a future version, any explicit "--" will be forwarded as-is to the scripts.
$ cross-env NODE_ENV=test mocha --grep 'should support bundling HTML'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment