# Upgrade

## Joe v2 to Kava v3

### Installation

Uninstall Joe

```
npm uninstall --save-dev joe joe-reporter-console joe-reporter-list
```

Install Kava

```
npm install --save-dev kava
```

### Usage

Change your usage from

```javascript
const joe = require('joe')
joe.suite('suite name', function (suite, test) {
    // ...
})
```

To the kava usage

```javascript
const kava = require('kava')
kava.suite('suite name', function (suite, test) {
    // ...
})
```

### 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.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://kava.bevry.me/upgrade.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
