UNPKG

japa

Version:

Lean test runner for Node.js

33 lines (32 loc) 832 B
"use strict"; /** * @module Core */ Object.defineProperty(exports, "__esModule", { value: true }); exports.InvalidAssertionsCount = exports.RegressionException = exports.TimeoutException = void 0; /* * japa * * (c) Harminder Virk <virk@adonisjs.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ /** * Raised when test or hook times out */ class TimeoutException extends Error { } exports.TimeoutException = TimeoutException; /** * Raised when regression test passes instead of failing */ class RegressionException extends Error { } exports.RegressionException = RegressionException; /** * Raised when assertion planning fails */ class InvalidAssertionsCount extends Error { } exports.InvalidAssertionsCount = InvalidAssertionsCount;