forked from dexie/Dexie.js
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Dexie export import fixes (dexie#779)
* Typescript compilation error resolved by exporting TypeMapper * Sporadically, the unit tests of dexie-export-import fails with FileError This happens mostly on Safari but has also happened on other browser. Changed the local version of promisedTest() to include the error code from FileError when it happens. Also showing the stack when there's a failure. The result: FileError with error code 1 happens occationally on Safari when reading a Blob asynchronically (the Blob that resides in IndexedDB). Due to this erratic behaviour of Blob reading from IndexedDB in Safari, we have to retry the unit tests of dexie-export-import when it fails (retry logic implemented in addons/dexie-export-import/test/travis.sh)
- Loading branch information
1 parent
98fe3d4
commit 1697adc
Showing
3 changed files
with
15 additions
and
3 deletions.
There are no files selected for viewing
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
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
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