# qunit-ava-spec

> Helper functions for using QUnit as if it was ava/ava-spec.

Latest version **2.0.0** (published 2022-11-10) · 0 weekly downloads

## Install

```sh
npm install qunit-ava-spec
pnpm add qunit-ava-spec
yarn add qunit-ava-spec
bun add qunit-ava-spec
```

## Health

**Score 25/100 (F)** — status: abandoned.

Positive: has types; esm support; no vulnerabilities.

Warnings: low downloads.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 2.0.0 |
| Published | 2022-11-10 |
| First published | 2019-04-17 |
| Weekly downloads | 0 |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 0 |
| Unpacked size | 5.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 2 |
| Maintainers | fabiospampinato |
| Keywords | qunit, qunit-plugin, ava, ava-spec |

## Links

- npm: https://www.npmjs.com/package/qunit-ava-spec
- Repository: https://github.com/fabiospampinato/qunit-ava-spec
- Homepage: https://github.com/fabiospampinato/qunit-ava-spec#readme
- Issues: https://github.com/fabiospampinato/qunit-ava-spec/issues
- npm.io page: https://npm.io/package/qunit-ava-spec

## Recent versions

- 2.0.0 (latest) — 2022-11-10
- 1.1.1 — 2022-02-16
- 1.1.0 — 2019-04-17
- 1.0.0 — 2019-04-17

## README

# QUnit AVA Spec

Helper functions for using [QUnit](https://api.qunitjs.com/) as if it was [ava](https://github.com/avajs/ava)/[ava-spec](https://github.com/sheerun/ava-spec).

## Install

```sh
npm install --save-dev qunit-ava-spec
```

## Usage

Load it after having loaded QUnit:

```html
<script src="./node_modules/qunit-ava-spec/dist/index.js"></script>
```

Then use it like you would use [ava](https://github.com/avajs/ava):

```js
test ( 'Foo', t => {
  t.is ( true, false );
});
```

Or [ava-spec](https://github.com/sheerun/ava-spec):

```js
describe ( 'Foo', it => {
  it ( 'does something useful', t => {
    t.true ( false );
  });
});
```

If you need [hooks](https://api.qunitjs.com/QUnit/module) you can pass them as a second optional argument to `describe`.

## License

MIT © Fabio Spampinato

---
_Source: https://npm.io/package/qunit-ava-spec · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
