@wdio/jasmine-framework 8.0.0-alpha.331 → 8.0.0-alpha.411
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/build/index.js +11 -3
- package/build/reporter.js +9 -4
- package/package.json +6 -6
package/build/index.js
CHANGED
|
@@ -17,14 +17,22 @@ const log = logger('@wdio/jasmine-framework');
|
|
|
17
17
|
* Jasmine runner
|
|
18
18
|
*/
|
|
19
19
|
class JasmineAdapter {
|
|
20
|
+
_cid;
|
|
21
|
+
_config;
|
|
22
|
+
_specs;
|
|
23
|
+
_capabilities;
|
|
24
|
+
_jasmineOpts;
|
|
25
|
+
_reporter;
|
|
26
|
+
_totalTests = 0;
|
|
27
|
+
_hasTests = true;
|
|
28
|
+
_lastTest;
|
|
29
|
+
_lastSpec;
|
|
30
|
+
_jrunner = new Jasmine({});
|
|
20
31
|
constructor(_cid, _config, _specs, _capabilities, reporter) {
|
|
21
32
|
this._cid = _cid;
|
|
22
33
|
this._config = _config;
|
|
23
34
|
this._specs = _specs;
|
|
24
35
|
this._capabilities = _capabilities;
|
|
25
|
-
this._totalTests = 0;
|
|
26
|
-
this._hasTests = true;
|
|
27
|
-
this._jrunner = new Jasmine({});
|
|
28
36
|
this._jasmineOpts = Object.assign({
|
|
29
37
|
cleanStack: true
|
|
30
38
|
}, (this._config.jasmineOpts ||
|
package/build/reporter.js
CHANGED
|
@@ -2,12 +2,17 @@ import logger from '@wdio/logger';
|
|
|
2
2
|
const log = logger('@wdio/jasmine-framework');
|
|
3
3
|
const STACKTRACE_FILTER = /(node_modules(\/|\\)(\w+)*|@wdio\/sync\/(build|src)|- - - - -)/g;
|
|
4
4
|
export default class JasmineReporter {
|
|
5
|
+
_reporter;
|
|
6
|
+
startedSuite;
|
|
7
|
+
_cid;
|
|
8
|
+
_specs;
|
|
9
|
+
_shouldCleanStack;
|
|
10
|
+
_parent = [];
|
|
11
|
+
_failedCount = 0;
|
|
12
|
+
_suiteStart = new Date();
|
|
13
|
+
_testStart = new Date();
|
|
5
14
|
constructor(_reporter, params) {
|
|
6
15
|
this._reporter = _reporter;
|
|
7
|
-
this._parent = [];
|
|
8
|
-
this._failedCount = 0;
|
|
9
|
-
this._suiteStart = new Date();
|
|
10
|
-
this._testStart = new Date();
|
|
11
16
|
this._cid = params.cid;
|
|
12
17
|
this._specs = params.specs;
|
|
13
18
|
this._shouldCleanStack = typeof params.cleanStack === 'boolean' ? params.cleanStack : true;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wdio/jasmine-framework",
|
|
3
|
-
"version": "8.0.0-alpha.
|
|
3
|
+
"version": "8.0.0-alpha.411+2d3189eaf",
|
|
4
4
|
"description": "A WebdriverIO plugin. Adapter for Jasmine testing framework.",
|
|
5
5
|
"author": "Christian Bromann <mail@bromann.dev>",
|
|
6
6
|
"homepage": "https://github.com/webdriverio/webdriverio/tree/main/packages/wdio-jasmine-framework",
|
|
@@ -31,10 +31,10 @@
|
|
|
31
31
|
"dependencies": {
|
|
32
32
|
"@types/jasmine": "4.3.0",
|
|
33
33
|
"@types/node": "^18.0.0",
|
|
34
|
-
"@wdio/globals": "8.0.0-alpha.
|
|
35
|
-
"@wdio/logger": "8.0.0-alpha.
|
|
36
|
-
"@wdio/types": "8.0.0-alpha.
|
|
37
|
-
"@wdio/utils": "8.0.0-alpha.
|
|
34
|
+
"@wdio/globals": "8.0.0-alpha.411+2d3189eaf",
|
|
35
|
+
"@wdio/logger": "8.0.0-alpha.411+2d3189eaf",
|
|
36
|
+
"@wdio/types": "8.0.0-alpha.411+2d3189eaf",
|
|
37
|
+
"@wdio/utils": "8.0.0-alpha.411+2d3189eaf",
|
|
38
38
|
"expect-webdriverio": "^4.0.0-alpha.3",
|
|
39
39
|
"jasmine": "^4.2.1"
|
|
40
40
|
},
|
|
@@ -44,5 +44,5 @@
|
|
|
44
44
|
"publishConfig": {
|
|
45
45
|
"access": "public"
|
|
46
46
|
},
|
|
47
|
-
"gitHead": "
|
|
47
|
+
"gitHead": "2d3189eaf8779f61699c1377f44f9841ed8a72c7"
|
|
48
48
|
}
|