You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Both the test and test:mocha scripts fail under node 18 with the error: ReferenceError: FileReader is not defined
changing if (typeof Blob === 'undefined') {
to if (typeof Blob === 'undefined' || typeof FileReader === 'undefined') {
at line 248 of util.ts fixes this for test:mocha, but then test throws
UnhandledPromiseRejection: This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason "[object Object]".
The text was updated successfully, but these errors were encountered:
Both the
test
andtest:mocha
scripts fail under node 18 with the error:ReferenceError: FileReader is not defined
changing
if (typeof Blob === 'undefined') {
to
if (typeof Blob === 'undefined' || typeof FileReader === 'undefined') {
at line 248 of
util.ts
fixes this fortest:mocha
, but thentest
throwsThe text was updated successfully, but these errors were encountered: