()
| 36 | }); |
| 37 | it('should not be possible to decrease a counter', () => { |
| 38 | const fn = function () { |
| 39 | instance.inc(-100); |
| 40 | }; |
| 41 | expect(fn).toThrowErrorMatchingSnapshot(); |
| 42 | }); |
| 43 | it('should throw an error when the value is not a number', () => { |