UNPKG

@yoroi/common

Version:

The Common package of Yoroi SDK

7 lines 276 B
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