mirror of
https://github.com/Noratrieb/haesli.git
synced 2026-03-15 15:06:04 +01:00
first test passes uwu
This commit is contained in:
parent
6f5fef2f23
commit
9a819bc3f4
7 changed files with 30 additions and 24 deletions
|
|
@ -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();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue