@opra/testing 1.19.5 → 1.19.7

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.
@@ -13,7 +13,7 @@ const api_expect_js_1 = require("./api-expect/api-expect.js");
13
13
  class TestBackend extends client_1.FetchBackend {
14
14
  constructor(app, options) {
15
15
  super(options?.basePath
16
- ? path.join('http://tempuri.org', options.basePath)
16
+ ? path.posix.join('http://tempuri.org', options.basePath)
17
17
  : 'http://tempuri.org', options);
18
18
  this._server = app instanceof node_http_1.Server ? app : (0, node_http_1.createServer)(app);
19
19
  }
@@ -9,7 +9,7 @@ import { ApiExpect } from './api-expect/api-expect.js';
9
9
  export class TestBackend extends FetchBackend {
10
10
  constructor(app, options) {
11
11
  super(options?.basePath
12
- ? path.join('http://tempuri.org', options.basePath)
12
+ ? path.posix.join('http://tempuri.org', options.basePath)
13
13
  : 'http://tempuri.org', options);
14
14
  this._server = app instanceof Server ? app : createServer(app);
15
15
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opra/testing",
3
- "version": "1.19.5",
3
+ "version": "1.19.7",
4
4
  "description": "Opra testing package",
5
5
  "author": "Panates",
6
6
  "license": "MIT",
@@ -12,8 +12,8 @@
12
12
  "tslib": "^2.8.1"
13
13
  },
14
14
  "peerDependencies": {
15
- "@opra/client": "^1.19.5",
16
- "@opra/common": "^1.19.5",
15
+ "@opra/client": "^1.19.7",
16
+ "@opra/common": "^1.19.7",
17
17
  "expect": "^29.0.0 || ^30.0.0",
18
18
  "jest-matcher-utils": "^29.0.0 || ^30.0.0"
19
19
  },