Skip to content

Commit

Permalink
Add sleep and remove fail
Browse files Browse the repository at this point in the history
  • Loading branch information
MichelDiz committed Oct 8, 2023
1 parent cf05ddd commit 083e147
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docker-compose.test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ services:
- dgraph-alpha
test-api:
build: .
command: yarn test
command: /bin/sh -c "sleep 10 && yarn test"
depends_on:
- app
environment:
Expand Down
2 changes: 1 addition & 1 deletion src/__tests__/query.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ describe('Mutations', () => {
expect(data.add).toHaveProperty('addUser');
expect(data.add.addUser).toEqual(expect.any(Object));
expect(data.add.addUser).toHaveProperty('id');
expect(data.add.addUser).toHaveProperty('titleMAKEITFAIL');
expect(data.add.addUser).toHaveProperty('title');
}, 3000);
});

Expand Down

0 comments on commit 083e147

Please sign in to comment.