mirror of
https://github.com/nestjs/nest.git
synced 2026-02-21 23:11:44 +00:00
test: update integration test
This commit is contained in:
@@ -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: {
|
||||
|
||||
Reference in New Issue
Block a user