5.2.0 • Published 11 months ago

@form8ion/vitest v5.2.0

Weekly downloads
-
License
MIT
Repository
github
Last release
11 months ago

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, 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

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

Dependencies

$ nvm install
$ npm install

Verification

$ npm test
5.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