UNPKG

@rlanz/sentry

Version:

A wrapper around the Sentry SDK to make it easier to use in a AdonisJS application

31 lines (30 loc) 1.03 kB
import { assert } from '@japa/assert'; import { fileSystem } from '@japa/file-system'; import { processCLIArgs, configure, run } from '@japa/runner'; /* |-------------------------------------------------------------------------- | Configure tests |-------------------------------------------------------------------------- | | The configure method accepts the configuration to configure the Japa | tests runner. | | The first method call "processCLIArgs" process the command line arguments | and turns them into a config object. Using this method is not mandatory. | | Please consult japa.dev/runner-config for the config docs. */ processCLIArgs(process.argv.slice(2)); configure({ files: ['tests/**/*.spec.ts'], plugins: [assert(), fileSystem({ autoClean: true })], }); /* |-------------------------------------------------------------------------- | Run tests |-------------------------------------------------------------------------- | | The following "run" method is required to execute all the tests. | */ await run();