@wdio/jasmine-framework 8.29.7 → 8.30.0
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 +1 -1
- package/build/utils.d.ts +1 -1
- package/build/utils.d.ts.map +1 -1
- package/package.json +6 -6
package/build/index.js
CHANGED
|
@@ -346,7 +346,7 @@ class JasmineAdapter {
|
|
|
346
346
|
globalThis.jasmine.addMatchers = (matchers) => globalThis.jasmine.addAsyncMatchers(this.#transformMatchers(matchers));
|
|
347
347
|
// @ts-expect-error not exported in jasmine
|
|
348
348
|
const syncMatchers = this.#transformMatchers(jasmine.matchers);
|
|
349
|
-
const wdioMatchers =
|
|
349
|
+
const wdioMatchers = [...matchers.entries()].reduce((prev, [name, fn]) => {
|
|
350
350
|
prev[name] = () => ({
|
|
351
351
|
async compare(...args) {
|
|
352
352
|
const context = getConfig();
|
package/build/utils.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ interface JestExpectationResult {
|
|
|
2
2
|
pass: boolean;
|
|
3
3
|
message: () => string;
|
|
4
4
|
}
|
|
5
|
-
export declare const jestResultToJasmine: (result: JestExpectationResult
|
|
5
|
+
export declare const jestResultToJasmine: (result: JestExpectationResult | Promise<JestExpectationResult>, isNot: boolean) => {
|
|
6
6
|
pass: boolean;
|
|
7
7
|
message: string;
|
|
8
8
|
} | Promise<{
|
package/build/utils.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../src/utils.ts"],"names":[],"mappings":"AAAA,UAAU,qBAAqB;IAC3B,IAAI,EAAE,OAAO,CAAA;IACb,OAAO,EAAE,MAAM,MAAM,CAAA;CACxB;AASD,eAAO,MAAM,mBAAmB,WAAY,qBAAqB,SAAS,OAAO;;;;;;
|
|
1
|
+
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../src/utils.ts"],"names":[],"mappings":"AAAA,UAAU,qBAAqB;IAC3B,IAAI,EAAE,OAAO,CAAA;IACb,OAAO,EAAE,MAAM,MAAM,CAAA;CACxB;AASD,eAAO,MAAM,mBAAmB,WAAY,qBAAqB,GAAG,QAAQ,qBAAqB,CAAC,SAAS,OAAO;;;;;;EAKjH,CAAA"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wdio/jasmine-framework",
|
|
3
|
-
"version": "8.
|
|
3
|
+
"version": "8.30.0",
|
|
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",
|
|
@@ -33,11 +33,11 @@
|
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
35
|
"@types/node": "^20.1.0",
|
|
36
|
-
"@wdio/globals": "8.
|
|
36
|
+
"@wdio/globals": "8.30.0",
|
|
37
37
|
"@wdio/logger": "8.28.0",
|
|
38
|
-
"@wdio/types": "8.
|
|
39
|
-
"@wdio/utils": "8.
|
|
40
|
-
"expect-webdriverio": "^4.
|
|
38
|
+
"@wdio/types": "8.30.0",
|
|
39
|
+
"@wdio/utils": "8.30.0",
|
|
40
|
+
"expect-webdriverio": "^4.10.1",
|
|
41
41
|
"jasmine": "^5.0.0"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
@@ -46,5 +46,5 @@
|
|
|
46
46
|
"publishConfig": {
|
|
47
47
|
"access": "public"
|
|
48
48
|
},
|
|
49
|
-
"gitHead": "
|
|
49
|
+
"gitHead": "033e2a91e97c9bd060eb70f2e4e412d382bec3af"
|
|
50
50
|
}
|