Skip to content

Commit

Permalink
chore: don't run blob test
Browse files Browse the repository at this point in the history
  • Loading branch information
sheremet-va committed Sep 22, 2023
1 parent bc304b5 commit e52fb74
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/core/test/environments/node.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@

import { expect, test } from 'vitest'

test('url correctly creates an object', () => {
const nodeMajor = Number(process.version.slice(1).split('.')[0])

test.runIf(nodeMajor > 16)('url correctly creates an object', () => {
expect(() => {
URL.createObjectURL(new Blob([]))
}).not.toThrow()
Expand Down

0 comments on commit e52fb74

Please sign in to comment.