From 6e050197b6faef77933ba6e740c06894f56cb86b Mon Sep 17 00:00:00 2001 From: Diego Resendez Date: Sun, 6 Sep 2026 17:37:32 -0500 Subject: [PATCH] test(mesh): drop the buildRemote case its neighbour already subsumes 'turns every manifest step into a lazy remote node' built the same thing as the test directly below it and asserted less about it: one step token instead of two, no assertion on what the RPC was called with. Two tests covering one behaviour, one of them strictly weaker. Signed-off-by: Diego Resendez --- test/mesh/teacup.test.ts | 9 --------- 1 file changed, 9 deletions(-) diff --git a/test/mesh/teacup.test.ts b/test/mesh/teacup.test.ts index 0920194..a5023ec 100644 --- a/test/mesh/teacup.test.ts +++ b/test/mesh/teacup.test.ts @@ -9,15 +9,6 @@ const fakeLink = (calls: any[]): Link => ({ }); describe('teacup buildRemote', () => { - it('turns every manifest step into a lazy remote node', async () => { - const link = { manifest: { steps: ['auth'], routes: [] }, rpc: async () => ({ ok: true }) } as any; - const { steps, routes } = buildRemote(link); - - expect(routes).toEqual([]); - expect(steps.map((s: any) => s.name)).toEqual(['auth']); - expect(await steps[0].run({})).toEqual({ auth: { ok: true } }); - }); - it('makes a step node per manifest token, with RPC runners returning merge objects', async () => { const calls: any[] = []; const { steps } = buildRemote(fakeLink(calls));