-
-
Save Raynos/b1f5369fdc9707547e78 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
try { | |
var req = indexedDB.open(name, version) | |
} catch (err) { | |
log(err instanceof Error) // false | |
throw new Error(err.message) // rethrowing the error as an instanceof Error makes the test continue | |
// letting this error bubble up into testling as a DOM error thing makes testling halt | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment