@wdio/jasmine-framework 8.0.0-alpha.558 → 8.0.0-alpha.565

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.
Files changed (2) hide show
  1. package/build/index.js +2 -2
  2. package/package.json +6 -6
package/build/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import url from 'node:url';
2
2
  import Jasmine from 'jasmine';
3
3
  import logger from '@wdio/logger';
4
- import { runTestInFiberContext, executeHooksWithArgs } from '@wdio/utils';
4
+ import { wrapGlobalTestMethod, executeHooksWithArgs } from '@wdio/utils';
5
5
  import { expect } from 'expect-webdriverio';
6
6
  import { _setGlobal } from '@wdio/globals';
7
7
  import JasmineReporter from './reporter.js';
@@ -116,7 +116,7 @@ class JasmineAdapter {
116
116
  beforeHook.push(emitHookEvent(fnName, 'start'));
117
117
  afterHook.push(emitHookEvent(fnName, 'end'));
118
118
  }
119
- runTestInFiberContext(isTest, isTest ? this._config.beforeTest : beforeHook, hookArgsFn, isTest ? this._config.afterTest : afterHook, hookArgsFn, fnName, this._cid);
119
+ wrapGlobalTestMethod(isTest, isTest ? this._config.beforeTest : beforeHook, hookArgsFn, isTest ? this._config.afterTest : afterHook, hookArgsFn, fnName, this._cid);
120
120
  });
121
121
  /**
122
122
  * for a clean stdout we need to avoid that Jasmine initialises the
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wdio/jasmine-framework",
3
- "version": "8.0.0-alpha.558+9156ec0f4",
3
+ "version": "8.0.0-alpha.565+9959d0e91",
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,15 +31,15 @@
31
31
  "dependencies": {
32
32
  "@types/jasmine": "4.3.0",
33
33
  "@types/node": "^18.0.0",
34
- "@wdio/globals": "8.0.0-alpha.558+9156ec0f4",
35
- "@wdio/logger": "8.0.0-alpha.558+9156ec0f4",
36
- "@wdio/types": "8.0.0-alpha.558+9156ec0f4",
37
- "@wdio/utils": "8.0.0-alpha.558+9156ec0f4",
34
+ "@wdio/globals": "8.0.0-alpha.565+9959d0e91",
35
+ "@wdio/logger": "8.0.0-alpha.565+9959d0e91",
36
+ "@wdio/types": "8.0.0-alpha.565+9959d0e91",
37
+ "@wdio/utils": "8.0.0-alpha.565+9959d0e91",
38
38
  "expect-webdriverio": "^4.0.0-alpha.3",
39
39
  "jasmine": "^4.2.1"
40
40
  },
41
41
  "publishConfig": {
42
42
  "access": "public"
43
43
  },
44
- "gitHead": "9156ec0f422b7e784ea148e569fe423ba21a0355"
44
+ "gitHead": "9959d0e91c0f7d2991a5a0c1eb34d288894dae74"
45
45
  }