Add toBeRejectedWithError matcher

This commit is contained in:
Alexey Prokhorov
2019-04-26 01:46:56 +04:00
parent afb24d1050
commit 35968e4a60
3 changed files with 190 additions and 1 deletions

View File

@@ -3,7 +3,8 @@ getJasmineRequireObj().requireAsyncMatchers = function(jRequire, j$) {
'toBeResolved',
'toBeRejected',
'toBeResolvedTo',
'toBeRejectedWith'
'toBeRejectedWith',
'toBeRejectedWithError'
],
matchers = {};