karma-qunit 3.0.0 → 3.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -4
- package/lib/adapter.js +4 -2
- package/package.json +32 -26
package/README.md
CHANGED
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
[](https://github.com/karma-runner/karma-qunit)
|
|
4
4
|
[](https://www.npmjs.com/package/karma-qunit) [](https://www.npmjs.com/package/karma-qunit)
|
|
5
5
|
|
|
6
|
-
[](https://travis-ci.org/karma-runner/karma-qunit) [](https://david-dm.org/karma-runner/karma-qunit) [](https://david-dm.org/karma-runner/karma-qunit
|
|
6
|
+
[](https://travis-ci.org/karma-runner/karma-qunit) [](https://david-dm.org/karma-runner/karma-qunit) [](https://david-dm.org/karma-runner/karma-qunit?type=dev)
|
|
7
7
|
|
|
8
|
-
> Adapter for the [QUnit](
|
|
8
|
+
> Adapter for the [QUnit](https://qunitjs.com/) testing framework.
|
|
9
9
|
|
|
10
10
|
## Installation
|
|
11
11
|
|
|
@@ -62,6 +62,6 @@ Note: `showUI: true` needs the `clearContext: false` option to display correctly
|
|
|
62
62
|
|
|
63
63
|
----
|
|
64
64
|
|
|
65
|
-
For more information on Karma see the [homepage]. If you're using `karma-qunit` to test Ember.js, you might find Karma's [Ember guide](
|
|
65
|
+
For more information on Karma see the [homepage]. If you're using `karma-qunit` to test Ember.js, you might find Karma's [Ember guide](https://karma-runner.github.io/latest/plus/emberjs.html) helpful.
|
|
66
66
|
|
|
67
|
-
[homepage]:
|
|
67
|
+
[homepage]: https://karma-runner.github.com/
|
package/lib/adapter.js
CHANGED
|
@@ -22,7 +22,9 @@ function createQUnitStartFn (tc, runnerPassedIn) { // eslint-disable-line no-unu
|
|
|
22
22
|
var runner = runnerPassedIn || window.QUnit
|
|
23
23
|
var totalNumberOfTest = 0
|
|
24
24
|
var timer = null
|
|
25
|
-
var testResult = {
|
|
25
|
+
var testResult = {
|
|
26
|
+
errors: []
|
|
27
|
+
}
|
|
26
28
|
var supportsTestTracking = false
|
|
27
29
|
var config = (tc.config && tc.config.qunit) || {}
|
|
28
30
|
var qunitOldTimeout = 13
|
|
@@ -100,7 +102,7 @@ function createQUnitStartFn (tc, runnerPassedIn) { // eslint-disable-line no-unu
|
|
|
100
102
|
suite: (test.module && [test.module]) || [],
|
|
101
103
|
success: testResult.success,
|
|
102
104
|
skipped: test.skipped,
|
|
103
|
-
log: testResult.errors
|
|
105
|
+
log: testResult.errors,
|
|
104
106
|
time: new Date().getTime() - timer
|
|
105
107
|
}
|
|
106
108
|
|
package/package.json
CHANGED
|
@@ -1,17 +1,20 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "karma-qunit",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1.3",
|
|
4
4
|
"description": "A Karma plugin. Adapter for QUnit testing framework.",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"scripts": {
|
|
7
7
|
"lint": "grunt eslint",
|
|
8
|
-
"test": "grunt"
|
|
9
|
-
"test:lib": "mocha test/lib"
|
|
8
|
+
"test": "grunt && mocha test/lib"
|
|
10
9
|
},
|
|
11
10
|
"repository": {
|
|
12
11
|
"type": "git",
|
|
13
12
|
"url": "git://github.com/karma-runner/karma-qunit.git"
|
|
14
13
|
},
|
|
14
|
+
"bugs": {
|
|
15
|
+
"url": "https://github.com/karma-runner/karma-qunit/issues"
|
|
16
|
+
},
|
|
17
|
+
"homepage": "https://github.com/karma-runner/karma-qunit#readme",
|
|
15
18
|
"keywords": [
|
|
16
19
|
"karma",
|
|
17
20
|
"karma-plugin",
|
|
@@ -19,51 +22,52 @@
|
|
|
19
22
|
"qunit"
|
|
20
23
|
],
|
|
21
24
|
"files": [
|
|
22
|
-
"lib"
|
|
25
|
+
"lib/*.js"
|
|
23
26
|
],
|
|
24
27
|
"author": "Vojta Jina <vojta.jina@gmail.com>",
|
|
25
28
|
"dependencies": {},
|
|
26
29
|
"devDependencies": {
|
|
27
|
-
"chai": "^4.
|
|
28
|
-
"eslint": "^
|
|
29
|
-
"eslint-
|
|
30
|
-
"eslint-plugin-
|
|
31
|
-
"eslint-plugin-
|
|
32
|
-
"eslint-plugin-
|
|
33
|
-
"
|
|
34
|
-
"grunt": "^1.0.1",
|
|
30
|
+
"chai": "^4.2.0",
|
|
31
|
+
"eslint-config-standard": "^13.0.1",
|
|
32
|
+
"eslint-plugin-import": "^2.18.0",
|
|
33
|
+
"eslint-plugin-node": "^8.0.1",
|
|
34
|
+
"eslint-plugin-promise": "^4.2.1",
|
|
35
|
+
"eslint-plugin-standard": "^4.0.0",
|
|
36
|
+
"grunt": "^1.0.4",
|
|
35
37
|
"grunt-bump": "^0.8.0",
|
|
36
|
-
"grunt-eslint": "^
|
|
37
|
-
"grunt-karma": "2
|
|
38
|
+
"grunt-eslint": "^21.1.0",
|
|
39
|
+
"grunt-karma": "^3.0.2",
|
|
38
40
|
"grunt-npm": "0.0.2",
|
|
39
|
-
"jasmine-core": "^3.
|
|
40
|
-
"karma": "^
|
|
41
|
-
"karma-chrome-launcher": "^
|
|
42
|
-
"karma-firefox-launcher": "1.
|
|
43
|
-
"karma-jasmine": "
|
|
44
|
-
"load-grunt-tasks": "^
|
|
45
|
-
"mocha": "^
|
|
46
|
-
"qunit": "^2.
|
|
41
|
+
"jasmine-core": "^3.4.0",
|
|
42
|
+
"karma": "^3.1.4",
|
|
43
|
+
"karma-chrome-launcher": "^3.0.0",
|
|
44
|
+
"karma-firefox-launcher": "^1.1.0",
|
|
45
|
+
"karma-jasmine": "^2.0.1",
|
|
46
|
+
"load-grunt-tasks": "^4.0.0",
|
|
47
|
+
"mocha": "^6.1.4",
|
|
48
|
+
"qunit": "^2.9.2"
|
|
47
49
|
},
|
|
48
50
|
"peerDependencies": {
|
|
51
|
+
"karma": "^3.0.0 || ^4.0.0",
|
|
49
52
|
"qunit": "^2.0.0"
|
|
50
53
|
},
|
|
51
54
|
"license": "MIT",
|
|
52
55
|
"contributors": [
|
|
53
56
|
"Friedel Ziegelmayer <dignifiedquire@gmail.com>",
|
|
54
57
|
"dignifiedquire <dignifiedquire@gmail.com>",
|
|
58
|
+
"XhmikosR <xhmikosr@gmail.com>",
|
|
59
|
+
"johnjbarton <johnjbarton@johnjbarton.com>",
|
|
55
60
|
"Matt DuVall <matt@stripe.com>",
|
|
56
61
|
"Johann-S <johann.servoire@gmail.com>",
|
|
57
62
|
"Timo Tijhof <krinklemail@gmail.com>",
|
|
58
63
|
"Friedel Ziegelmayer <friedel.ziegelmayer@gmail.com>",
|
|
64
|
+
"Mark Ethan Trostler <mark@zzo.com>",
|
|
59
65
|
"Stefan Sechelmann <stefan@sechel.de>",
|
|
60
|
-
"johnjbarton <johnjbarton@johnjbarton.com>",
|
|
61
66
|
"masubi <justin.masui@gmail.com>",
|
|
62
|
-
"Mark Ethan Trostler <mark@zzo.com>",
|
|
63
67
|
"Aymeric Beaumet <aymeric@beaumet.me>",
|
|
64
68
|
"Ulrich Block <u.block@sap.com>",
|
|
65
69
|
"masubi <masubi@users.noreply.github.com>",
|
|
66
|
-
"
|
|
70
|
+
"Aliaksei Sapach <aliaksei.dreamsonic@gmail.com>",
|
|
67
71
|
"Aliaksei Sapach <dreamsonic@tut.by>",
|
|
68
72
|
"Aymeric Beaumet <aymeric.beaumet@gmail.com>",
|
|
69
73
|
"Brian Donovan <donovan@squareup.com>",
|
|
@@ -73,7 +77,9 @@
|
|
|
73
77
|
"Sahat Yalkabov <sakhat@gmail.com>",
|
|
74
78
|
"Stefan Dragnev <dragnev@telerik.com>",
|
|
75
79
|
"Tim Robertson <trobertson@spredfast.com>",
|
|
80
|
+
"Volker Buzek <volker.buzek@js-soft.com>",
|
|
81
|
+
"dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>",
|
|
76
82
|
"pallxk <github@pallxk.com>",
|
|
77
|
-
"
|
|
83
|
+
"thenickcox <nick@nickcox.me>"
|
|
78
84
|
]
|
|
79
85
|
}
|