mirror of
https://github.com/arthur-pbty/portfolio2023.git
synced 2026-06-04 15:56:24 +02:00
AdonisJS Preset
Bundled with opinionated plugins and reporters.
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()]
})