| 12 | const mockDecorator = jest.fn(x => x); |
| 13 | const thingSpy = jest.fn(); |
| 14 | class Test { |
| 15 | @makeClassMemberDecorator(mockDecorator) |
| 16 | // eslint-disable-next-line class-methods-use-this |
| 17 | thing() { |
| 18 | thingSpy(); |
| 19 | } |
| 20 | } |
| 21 | const myTest = new Test(); |
| 22 | |
| 23 | expect(thingSpy).not.toHaveBeenCalled(); |
nothing calls this directly
no test coverage detected
searching dependent graphs…