Searched refs:assertThrowError (Results 1 – 8 of 8) sorted by relevance
20 expect(a).assertThrowError()27 expect(a).assertThrowError("exception");34 expect(a).assertThrowError("test");
25 import assertThrowError from './assertThrowError';54 this.matchers.assertThrowError = assertThrowError;
16 function assertThrowError(actualValue, expected) { function48 export default assertThrowError;
75 assertThrowError(expectValue: string | Function): void
72 assertThrowError(expectValue: string | Function): void
276 …expect(test).assertThrowError("Parameter error. The type of undefined must be string or UintArray"…296 expect(test).assertThrowError('Unknown encoding: test');476 expect(test).assertThrowError('The doWrite() method is not implemented');1180 expect(test).assertThrowError('Unknown encoding: abc');1207 expect(test).assertThrowError(code);1931 … expect(test).assertThrowError('Parameter error. The type of my invalid encoding must be string.');2221 expect(test).assertThrowError('The doTransform() method is not implemented');
99 | 11 | assertThrowError | 检验actualvalue抛出Error内容是否是expectValue。 |
93 | 11 | assertThrowError | Checks whether the error thrown by the actual value is the expected val…