Skip to content

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

License

Notifications You must be signed in to change notification settings

fabiospampinato/qunit-ava-spec

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

QUnit AVA Spec

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

Install

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

Usage

Load it after having loaded QUnit:

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

Then use it like you would use ava:

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

Or ava-spec:

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

If you need hooks you can pass them as a second optional argument to describe.

License

MIT © Fabio Spampinato

About

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

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published