first test passes uwu

This commit is contained in:
nora 2022-02-22 13:15:59 +01:00
parent 6f5fef2f23
commit 9a819bc3f4
7 changed files with 30 additions and 24 deletions

View file

@ -1,4 +1,4 @@
import {connectAmqp, sleep} from './utils/utils.js';
import { connectAmqp, sleep } from './utils/utils.js';
const connection = await connectAmqp();
@ -6,8 +6,6 @@ const channel = await connection.createChannel();
console.log('Successfully opened channel');
await sleep(100_000);
await channel.close();
await connection.close();