Kava
Search…
Upgrade

Joe v2 to Kava v3

Installation

Uninstall Joe
1
npm uninstall --save-dev joe joe-reporter-console joe-reporter-list
Copied!
Install Kava
1
npm install --save-dev kava
Copied!

Usage

Change your usage from
1
const joe = require('joe')
2
joe.suite('suite name', function (suite, test) {
3
// ...
4
})
Copied!
To the kava usage
1
const kava = require('kava')
2
kava.suite('suite name', function (suite, test) {
3
// ...
4
})
Copied!

Run

You no longer need to specify the reporter with Kava.
So remove the --joe-reporter=console or env JOE_REPORTER=console or the like from your test script.
Last modified 3yr ago