Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
dplewis committed Apr 13, 2024
1 parent 2d838b5 commit b14942d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/__tests__/Parse-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -179,11 +179,11 @@ describe('Parse module', () => {
});

it('can set and get live query', () => {
const temp = Parse.LiveQuery;
const LiveQuery = new ParseLiveQuery();
expect(Parse.LiveQuery).toEqual(undefined);
Parse.LiveQuery = LiveQuery
expect(Parse.LiveQuery).toEqual(LiveQuery);
Parse.LiveQuery = undefined;
Parse.LiveQuery = temp;
});

it('can set allowCustomObjectId', () => {
Expand Down

0 comments on commit b14942d

Please sign in to comment.