@japa/preset-adonis
TypeScript icon, indicating that this package has built-in type declarations

1.2.0 • Public • Published

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()]
})

/@japa/preset-adonis/

    Package Sidebar

    Install

    npm i @japa/preset-adonis

    Weekly Downloads

    9,024

    Version

    1.2.0

    License

    MIT

    Unpacked Size

    11.4 kB

    Total Files

    13

    Last publish

    Collaborators

    • virk
    • romainlanz
    • julien-r44