Skip to content

Commit 73f4379

Browse files
committed
flaky test
1 parent 31b70bc commit 73f4379

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spec/ParseGraphQLSchema.spec.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,9 +53,9 @@ describe('ParseGraphQLSchema', () => {
5353
it('should cache schema', async () => {
5454
const graphQLSchema = await parseGraphQLSchema.load();
5555
const updatedGraphQLSchema = await parseGraphQLSchema.load();
56-
expect(graphQLSchema).toEqual(updatedGraphQLSchema);
56+
expect(graphQLSchema).toBe(updatedGraphQLSchema);
5757
await new Promise(resolve => setTimeout(resolve, 200));
58-
expect(graphQLSchema).toEqual(await parseGraphQLSchema.load());
58+
expect(graphQLSchema).toBe(await parseGraphQLSchema.load());
5959
});
6060

6161
it('should load a brand new GraphQL Schema if Parse Schema changes', async () => {

0 commit comments

Comments
 (0)