Skip to content

Commit

Permalink
fix(cli): Fix Studio tests (prisma#5668)
Browse files Browse the repository at this point in the history
  • Loading branch information
Siddhant authored Feb 16, 2021
1 parent fb53469 commit fdd8213
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/packages/cli/src/__tests__/studio.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,8 @@ beforeEach(async () => {
'none',
])

await new Promise((r) => setTimeout(() => r(null), 2000))

await sendRequest({
requestId: 1,
channel: 'prisma',
Expand Down Expand Up @@ -193,7 +195,7 @@ it('can respond to `update` queries', async () => {
expect(res).toMatchSnapshot()
})

it.skip('can respond to `delete` queries', async () => {
it('can respond to `delete` queries', async () => {
const res = await sendRequest({
requestId: 1,
channel: 'prisma',
Expand Down

0 comments on commit fdd8213

Please sign in to comment.