fix: load matchers from jasmine-expect

I accidentally removed this in 41ac86129b9b45216708c307645a0fc47eecf8bf, resulting in much breakage.
This commit is contained in:
Jeff Williams 2022-12-11 18:59:09 -08:00
parent 1a3195ceb1
commit 1e02120b21
No known key found for this signature in database

View File

@ -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;