(rel: string, body: string)
| 23 | afterEach(() => { fs.rmSync(dir, { recursive: true, force: true }); }); |
| 24 | |
| 25 | const write = (rel: string, body: string) => { |
| 26 | const p = path.join(dir, rel); |
| 27 | fs.mkdirSync(path.dirname(p), { recursive: true }); |
| 28 | fs.writeFileSync(p, body); |
| 29 | }; |
| 30 | |
| 31 | it('bridges publishEvent(new X) to every listener form of X, ignoring unheard events and non-listeners', async () => { |
| 32 | write('shop/OrderEvents.java', `package shop; |
no test coverage detected