@form8ion/vitest

4.2.0 • Public • Published

vitest

test framework plugin for form8ion

Node CI Workflow Status Codecov SLSA Level 2

Table of Contents

Usage

MIT license npm Try @form8ion/vitest on RunKit node

Installation

$ npm install @form8ion/vitest --save-prod

Example

Import

import {dialects} from '@form8ion/javascript-core';
import {scaffold} from '@form8ion/vitest';

Execute

(async () => {
  await scaffold({projectRoot: process.cwd(), dialect: dialects.ESM});
})();

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

PRs Welcome Commitizen friendly Conventional Commits semantic-release: angular Renovate

Dependencies

$ nvm install
$ npm install

Verification

$ npm test

Readme

Keywords

none

Package Sidebar

Install

npm i @form8ion/vitest

Weekly Downloads

213

Version

4.2.0

License

MIT

Unpacked Size

11.8 kB

Total Files

8

Last publish

Collaborators

  • travi
  • form8ion-bot