test framework plugin for form8ion
$ npm install @form8ion/vitest --save-prod
import {dialects} from '@form8ion/javascript-core';
import {scaffold} from '@form8ion/vitest';
(async () => {
await scaffold({projectRoot: process.cwd(), dialect: dialects.ESM});
})();
Scaffolder for configuring Vitest as the unit-test framework for the project
Takes a single options object as an argument, containing:
path to the root of the project
$ nvm install
$ npm install
$ npm test