| 25 | test("should load a module", async () => { |
| 26 | const TestModule = { |
| 27 | default: class TestModule { |
| 28 | public static moduleApiVersion = "^1.0.0"; |
| 29 | public constructor(private readonly api: Api) {} |
| 30 | public async load(): Promise<void> {} |
| 31 | }, |
| 32 | }; |
| 33 | |
| 34 | const spy = vi.spyOn(TestModule.default.prototype, "load"); |
nothing calls this directly
no outgoing calls
no test coverage detected