2018-03-24 16:22:20 +05:30

4 lines
64 B
JavaScript

const fn = () => `${Symbol()}`;
expect(fn).toThrow(TypeError);