test: update integration test

This commit is contained in:
Kamil Myśliwiec
2024-11-21 14:17:57 +01:00
parent 5c7724b649
commit f80984fb78

View File

@@ -24,8 +24,8 @@ describe('ErrorGateway', () => {
ws.emit(pattern, data);
await new Promise<void>(resolve =>
ws.on('exception', data => {
expect(data).to.be.eql({
ws.on('exception', error => {
expect(error).to.be.eql({
status: 'error',
message: 'test',
cause: {