Skip to content

Commit 466d789

Browse files
committed
Update ParseLiveQueryQuery.spec.js
1 parent 2a7ad48 commit 466d789

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

spec/ParseLiveQueryQuery.spec.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@ describe('ParseLiveQuery query operation', function () {
2323
await client.close();
2424
}
2525
jasmine.restoreLibrary('../lib/LiveQuery/ParseWebSocketServer', 'ParseWebSocketServer');
26+
// Restore Client.pushError
27+
const Client = require('../lib/LiveQuery/Client').Client;
28+
delete Client.pushError;
2629
});
2730

2831
function addMockClient(parseLiveQueryServer, clientId) {

0 commit comments

Comments
 (0)