Skip to content

Commit

Permalink
chore: skip tests that require Promise.withResolvers if not provided
Browse files Browse the repository at this point in the history
  • Loading branch information
stipsan committed Nov 29, 2024
1 parent 96e76a9 commit 1d388ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/machine/__tests__/documentMutatorMachine.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ const createFakeClient = (
return client as unknown as SanityClient
}

describe('observing documents', () => {
describe.runIf('withResolvers' in Promise)('observing documents', () => {
test('observing a document that does not exist on the backend', async () => {
const client = createFakeClient()

Expand Down

0 comments on commit 1d388ca

Please sign in to comment.