You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by ra...@apache.org on 2018/10/25 08:29:37 UTC

[cordova-js] branch master updated (243e7aa -> 9490096)

This is an automated email from the ASF dual-hosted git repository.

raphinesse pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/cordova-js.git.


    from 243e7aa  remove JIRA link
     add 3a3bd07  Jasmine 3: Use `toThrowError` to match error messages
     add 5e341be  Jasmine 3: Use Spy#and to access SpyStrategy
     add 7453d12  Jasmine 3: Use Spy#calls to access call data
     add f28706f  Jasmine 3: Replace usage of `waitsFor` and `runs`
     add 430620d  Jasmine 3: Replace usage of Spec#after
     add 007f748  Fix test cleanup to not break other tests
     add c123e1e  Fix access to Cordova's define & require in tests
     add 524031d  Run tests in browser using Karma
     add 967b326  Remove test & cover tasks + orphaned dependencies
     new 9490096  Merge pull request #176 from raphinesse/karma

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 Gruntfile.js                                  |   4 +-
 karma.conf.js                                 |  90 +++++++++++++++++++
 package.json                                  |  12 +--
 src/legacy-exec/test/test/propertyreplacer.js |  17 ++--
 tasks/cover.js                                |  34 --------
 tasks/lib/collect.js                          |  38 --------
 tasks/lib/test-jsdom-coverage.js              | 119 --------------------------
 tasks/lib/test-jsdom.js                       |  76 ----------------
 tasks/test.js                                 |  31 -------
 test/.eslintrc.yml                            |   5 +-
 test/android/test.exec.js                     | 117 +++++++++++--------------
 test/ios/test.exec.js                         |   6 +-
 test/test.argscheck.js                        |  14 +--
 test/test.base64.js                           |   2 +-
 test/test.builder.js                          |   6 +-
 test/test.channel.js                          |  23 +++--
 test/test.modulemapper.js                     |  16 ++--
 test/test.pluginloader.js                     |  53 ++++--------
 test/test.require.js                          |  10 ++-
 test/test.urlutil.js                          |  13 +--
 test/test.utils.js                            |   2 +-
 21 files changed, 222 insertions(+), 466 deletions(-)
 create mode 100644 karma.conf.js
 delete mode 100644 tasks/cover.js
 delete mode 100644 tasks/lib/collect.js
 delete mode 100644 tasks/lib/test-jsdom-coverage.js
 delete mode 100644 tasks/lib/test-jsdom.js
 delete mode 100644 tasks/test.js


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org


[cordova-js] 01/01: Merge pull request #176 from raphinesse/karma

Posted by ra...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

raphinesse pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/cordova-js.git

commit 9490096bb175b2c04b614e40fecf7b7622522489
Merge: 243e7aa 967b326
Author: Raphael von der GrĂ¼n <ra...@gmail.com>
AuthorDate: Thu Oct 25 10:29:32 2018 +0200

    Merge pull request #176 from raphinesse/karma
    
    Migrate tests to Jasmine 3 driven by Karma

 Gruntfile.js                                  |   4 +-
 karma.conf.js                                 |  90 +++++++++++++++++++
 package.json                                  |  12 +--
 src/legacy-exec/test/test/propertyreplacer.js |  17 ++--
 tasks/cover.js                                |  34 --------
 tasks/lib/collect.js                          |  38 --------
 tasks/lib/test-jsdom-coverage.js              | 119 --------------------------
 tasks/lib/test-jsdom.js                       |  76 ----------------
 tasks/test.js                                 |  31 -------
 test/.eslintrc.yml                            |   5 +-
 test/android/test.exec.js                     | 117 +++++++++++--------------
 test/ios/test.exec.js                         |   6 +-
 test/test.argscheck.js                        |  14 +--
 test/test.base64.js                           |   2 +-
 test/test.builder.js                          |   6 +-
 test/test.channel.js                          |  23 +++--
 test/test.modulemapper.js                     |  16 ++--
 test/test.pluginloader.js                     |  53 ++++--------
 test/test.require.js                          |  10 ++-
 test/test.urlutil.js                          |  13 +--
 test/test.utils.js                            |   2 +-
 21 files changed, 222 insertions(+), 466 deletions(-)


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org