fix(jsdom): use jsdom Blob instead of Node, if jsdom is enabled (#2086)

This commit is contained in:
Patrick 2022-10-01 22:05:18 +08:00 committed by GitHub
parent 0cae8ac0ae
commit eabe66e8e2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -6,6 +6,8 @@ const allowRewrite = [
'MessageEvent',
// implemented in Node 18
'ArrayBuffer',
// implemented in Node 18
'Blob',
]
const skipKeys = [