| 344 | mockMethod = jest.fn(); |
| 345 | |
| 346 | class TestClass { |
| 347 | @Cacheable((arg1, arg2) => `test:${arg1}:${arg2}`, 100) |
| 348 | async testMethod(arg1: string, arg2: string): Promise<string> { |
| 349 | return mockMethod(arg1, arg2); |
| 350 | } |
| 351 | } |
| 352 | |
| 353 | testClass = new TestClass(); |
| 354 | }); |
nothing calls this directly
no test coverage detected