diff --git a/test/types.ts b/test/types.ts index 42d906d..edca411 100644 --- a/test/types.ts +++ b/test/types.ts @@ -24,6 +24,8 @@ const client3 = new Client(CatboxMemory, catboxMemoryOptions); (async () => { + await Promise.all([client.start(), client2.start(), client3.start()]); + const x = await client.get({ id: 'x', segment: 's', @@ -45,4 +47,6 @@ const client3 = new Client(CatboxMemory, catboxMemoryOptions); }); z?.item === 'z'; -})() \ No newline at end of file + + await Promise.all([client.stop(), client2.stop(), client3.stop()]); +})();