mirror of
https://github.com/apache/cordova-plugin-file-transfer.git
synced 2026-04-28 00:02:49 +08:00
CB-8125: Reorganize and clean up test suite.
Audited all calls to done() to ensure correct async execution. Removed some redundant code. Removed depencency on mobile-spec: tests now run even if started independently. Tested without plugin-test-framework and with it, on Windows, iOS, and Android. Made deleteFile and writeFile raise real errors when they encounter real problems; otherwise, made their logging sound less threatening. Fixed spec.17, using localFilePath instead of fileName. Fixed issue with pending() throwing errors when being called in an async 'unsupported' callback by calling it in afterEach. Also made log messages slightly more informative. This closes #55
This commit is contained in:
committed by
Ian Clelland
parent
169c8b7cb8
commit
fc8f4f0001
+718
-754
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user