cordova-android/spec/unit
Chris Brody acad24d62a
Consistent order from ProjectBuilder.apkSorter (#779)
This function used to give a different order depending on the behavior
of Array.prototype.sort(), which led to a test failure on Node.js 12
(see apache/cordova-android#767).

This update gives a consistent sort order, regardless of the
JavaScript engine implementation, now succeeds on Node.js
versions 6, 8, 10, and 12.

Resolves #767

For reference:
- https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/sort
2019-07-14 16:35:44 -04:00
..
builders Consistent order from ProjectBuilder.apkSorter (#779) 2019-07-14 16:35:44 -04:00
config Improve Gradle Build Arguments (#699) 2019-04-06 13:28:25 +09:00
pluginHandlers Bumped Dev Dependencies + ESLint Correction 2019-01-15 21:57:08 -08:00
Adb.spec.js Bumped Dev Dependencies + ESLint Correction 2019-01-15 21:57:08 -08:00
android_sdk.spec.js Unit tests for android_sdk and AndroidProject (#464) 2018-09-02 04:44:37 +02:00
AndroidManifest.spec.js Improve Gradle Build Arguments (#699) 2019-04-06 13:28:25 +09:00
AndroidProject.spec.js Fixes build & run related bugs from builder refactor PR #461 (#490) 2018-09-06 11:06:18 +09:00
Api.spec.js Prevent Api.js tests from polluting the reporter output 2018-06-22 10:02:31 +09:00
check_reqs.spec.js Updated ANDROID_HOME Test to Follow #656 Change (#673) 2019-02-18 09:34:55 +09:00
create.spec.js Improve Gradle Build Arguments (#699) 2019-04-06 13:28:25 +09:00
device.spec.js Add unit tests for device 2018-07-03 10:43:30 +09:00
emulator.spec.js Bumped Dev Dependencies + ESLint Correction 2019-01-15 21:57:08 -08:00
jasmine.json test: use verbose spec reporter (#778) 2019-07-14 15:36:46 -04:00
prepare.spec.js Bumped Dev Dependencies + ESLint Correction 2019-01-15 21:57:08 -08:00
retry.spec.js Add unit tests for run and retryPromise 2018-06-20 13:24:50 +02:00
run.spec.js rewire workaround for NodeJS 12 (#774) 2019-07-12 02:09:57 -04:00