UNPKG

832 BJavaScriptView Raw
1"use strict";
2/**
3 * @module Core
4 */
5Object.defineProperty(exports, "__esModule", { value: true });
6exports.InvalidAssertionsCount = exports.RegressionException = exports.TimeoutException = void 0;
7/*
8 * japa
9 *
10 * (c) Harminder Virk <virk@adonisjs.com>
11 *
12 * For the full copyright and license information, please view the LICENSE
13 * file that was distributed with this source code.
14*/
15/**
16 * Raised when test or hook times out
17 */
18class TimeoutException extends Error {
19}
20exports.TimeoutException = TimeoutException;
21/**
22 * Raised when regression test passes instead of failing
23 */
24class RegressionException extends Error {
25}
26exports.RegressionException = RegressionException;
27/**
28 * Raised when assertion planning fails
29 */
30class InvalidAssertionsCount extends Error {
31}
32exports.InvalidAssertionsCount = InvalidAssertionsCount;