UNPKG

@yoroi/common

Version:
9 lines (8 loc) 291 B
"use strict"; import { invalid } from './errors'; describe('invalid', () => { it('should throw an error with the given message', () => { expect(() => invalid('This is an invalid function')).toThrowError('This is an invalid function'); }); }); //# sourceMappingURL=errors.test.js.map