@opra/testing 1.19.4 → 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.
- package/cjs/test-backend.js +1 -1
- package/esm/test-backend.js +1 -1
- package/package.json +5 -5
package/cjs/test-backend.js
CHANGED
|
@@ -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
|
}
|
package/esm/test-backend.js
CHANGED
|
@@ -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,19 +1,19 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opra/testing",
|
|
3
|
-
"version": "1.19.
|
|
3
|
+
"version": "1.19.7",
|
|
4
4
|
"description": "Opra testing package",
|
|
5
5
|
"author": "Panates",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"dependencies": {
|
|
8
|
-
"@browsery/type-is": "^
|
|
9
|
-
"@jsopen/objects": "^2.0.
|
|
8
|
+
"@browsery/type-is": "^2.0.1",
|
|
9
|
+
"@jsopen/objects": "^2.0.2",
|
|
10
10
|
"ansi-colors": "^4.1.3",
|
|
11
11
|
"rule-judgment": "^1.1.5",
|
|
12
12
|
"tslib": "^2.8.1"
|
|
13
13
|
},
|
|
14
14
|
"peerDependencies": {
|
|
15
|
-
"@opra/client": "^1.19.
|
|
16
|
-
"@opra/common": "^1.19.
|
|
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
|
},
|