@tramvai/test-helpers 1.8.8 → 1.9.3
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/lib/index.js +1 -1
- package/package.json +3 -3
package/lib/index.js
CHANGED
|
@@ -52,7 +52,7 @@ Cтек ошибки: ${stack.join('\n\t')}
|
|
|
52
52
|
};
|
|
53
53
|
|
|
54
54
|
const requestFactory = (appOrUrl) => {
|
|
55
|
-
const request = supertest__default[
|
|
55
|
+
const request = supertest__default["default"](appOrUrl);
|
|
56
56
|
return (path, { method = 'get' } = {}) => {
|
|
57
57
|
return request[method](path);
|
|
58
58
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tramvai/test-helpers",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.9.3",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"typings": "lib/index.d.ts",
|
|
@@ -18,8 +18,8 @@
|
|
|
18
18
|
"build-for-publish": "true"
|
|
19
19
|
},
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@tramvai/core": "1.
|
|
22
|
-
"@tramvai/test-mocks": "1.
|
|
21
|
+
"@tramvai/core": "1.9.3",
|
|
22
|
+
"@tramvai/test-mocks": "1.9.3",
|
|
23
23
|
"@types/express": "^4.17.1",
|
|
24
24
|
"@types/supertest": "^2.0.11",
|
|
25
25
|
"express": "^4.17.1",
|