UNPKG

@yoroi/common

Version:

The Common package of Yoroi SDK

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