/preset-adonis

Bundled with opinionated plugins and reporters for AdonisJS

Primary LanguageTypeScriptMIT LicenseMIT

AdonisJS Preset

Bundled with opinionated plugins and reporters.

github-actions-image npm-image license-image typescript-image

Instead of installing individual plugins and reporters, this preset bundles them within a single package.

Installation

Install the package from the npm registry as follows:

npm i @japa/preset-adonis

Usage

Use the plugins as follows.

import { assert, specReporter, runFailedTests } from '@japa/preset-adonis'

configure({
  plugins: [assert(), runFailedTests()],
  reporters: [specReporter()]
})