5.2.0 • Published 11 months ago
@form8ion/vitest v5.2.0
vitest
test framework plugin for form8ion
Table of Contents
Usage
Installation
$ npm install @form8ion/vitest --save-prodExample
Import
import {dialects} from '@form8ion/javascript-core';
import {scaffold, test, lift} from '@form8ion/vitest';Execute
(async () => {
const projectRoot = process.cwd();
await scaffold({projectRoot, dialect: dialects.ESM});
if (await test({projectRoot})) {
await lift({projectRoot});
}
})();API
scaffold
Scaffolder for configuring Vitest as the unit-test framework for the project
Takes a single options object as an argument, containing:
projectRoot string (required)
path to the root of the project
Contributing
Dependencies
$ nvm install
$ npm installVerification
$ npm test5.2.0
11 months ago
5.1.0
11 months ago
5.0.0
12 months ago
5.0.0-beta.4
12 months ago
5.0.0-beta.5
12 months ago
5.0.0-beta.2
12 months ago
5.0.0-beta.3
12 months ago
5.0.0-beta.1
1 year ago
4.3.0
12 months ago
4.1.0
2 years ago
4.2.0
2 years ago
4.0.1
2 years ago
4.0.0
2 years ago
3.0.2
3 years ago
3.0.1
3 years ago
3.0.0
3 years ago
2.1.0
3 years ago
2.0.0-alpha.3
3 years ago
2.0.0-alpha.1
3 years ago
2.0.0-alpha.2
3 years ago
2.0.0
3 years ago
1.1.0
4 years ago
1.0.0
4 years ago
1.0.0-alpha.3
4 years ago
1.0.0-alpha.2
4 years ago
1.0.0-alpha.1
4 years ago