Releases: tunnckoCore/asia
Releases · tunnckoCore/asia
v0.19.8
v0.19.8 (2019-05-30)
🐛 Bug Fixes
- [
fdaa11324a
] - deps: update dependency asia to ^0.19.0 (#23) (@renovate[bot])
v0.19.7
Bug fixes
- no indent for snapshots
v0.19.6
Bug fixes
- small fixes on readme side of the things
v0.19.5
Bug fixes
- fix: update test-cov script
- fix(cli): force --update flag when NYC coverage
- fix: readme badges, Badgen all
- fix: completely switch to Badgen (https://badgen.now.sh)
- fix: upadtes for CodeCov and nyc
v0.19.4
Bug fixes
- enable CircleCI
- update self tests for inside the CI
- make
codeframe
the default CI reporter
v0.19.3
Docs
- generate readme, update is next in the TODO list
v0.19.2
Bug fixes
- fix typo in
src/reporters/tap.js
when failing (remove the colon after filepath)
v0.19.1
Bug fixes
- ensurance in
src/reporters/codeframe.js
when there is no source frame
v0.19.0
Features
- Introduce the
codeframe
reporter, try it out with-R codeframe
Basically, it's exact visual copy of the ESLint's one. :) It's also minimalist by default, which means that you need to pass --no-min
to see passed, skipped, and todo tests printed. Otherwise it will only show the failing ones.
If there is no failing tests it shows No errors found. :)
in green, once.
Checkout this example, or clone the repo and run it. It's colored, of course.
❯ node src/cli.js foo.mjs -r @babel/register -R codeframe --no-min
fail: foo bar baz (Object.t [as fn]) at ./foo.mjs:12:5
10 |
11 | test('foo bar baz', (t) => {
> 12 | t.deepEqual([1, 2, 3], { a: 1, b: { c: 6 } });
| ^ AssertionError [ERR_ASSERTION]: [ 1, 2, 3 ] deepEqual { a: 1, b: { c: 6 } }
13 | });
14 |
15 | test('total slow test here', async (t) => {
pass: total slow test here (null) at ./foo.mjs
fail: some real fail here (Object.t [as fn]) at ./foo.mjs:24:3
22 |
23 | test('some real fail here', (t) => {
> 24 | dadas;
| ^ ReferenceError: dadas is not defined
25 |
26 | t.ok(true);
27 | });
pass: some slow yeah (null) at ./foo.mjs
todo: some without implementation (null) at ./foo.mjs
skip: failing but skipped (null) at ./foo.mjs
pass: one more passing (null) at ./foo.mjs
2 error(s) found. :(
v0.18.2
Bug fixes
- fix: force using TAP reporter in CI