mirror of
https://github.com/jsdoc/jsdoc.git
synced 2025-12-08 19:46:11 +00:00
fix: load matchers from jasmine-expect
I accidentally removed this in 41ac86129b9b45216708c307645a0fc47eecf8bf, resulting in much breakage.
This commit is contained in:
parent
1a3195ceb1
commit
1e02120b21
@ -1,6 +1,9 @@
|
||||
const _ = require('lodash');
|
||||
const { addMatchers } = require('add-matchers');
|
||||
|
||||
// Adds matchers from https://github.com/JamieMason/Jasmine-Matchers.
|
||||
require('jasmine-expect');
|
||||
|
||||
addMatchers({
|
||||
toBeError(value) {
|
||||
return value instanceof Error;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user