@coorpacademy/app-review 0.5.1 → 0.5.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/es/index.d.ts +1 -0
- package/es/test/index.test.js +1 -1
- package/lib/index.d.ts +1 -0
- package/lib/test/index.test.js +1 -2
- package/package.json +7 -7
- package/src/test/index.test.tsx +1 -1
package/es/index.d.ts
CHANGED
package/es/test/index.test.js
CHANGED
|
@@ -14,6 +14,7 @@ const waitForChanges = async (msToWait = 3000) => {
|
|
|
14
14
|
});
|
|
15
15
|
};
|
|
16
16
|
const LIMIT = 5;
|
|
17
|
+
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
17
18
|
const clickAllSlides = async (t, container, accumulator = 0) => {
|
|
18
19
|
if (accumulator === LIMIT)
|
|
19
20
|
return;
|
|
@@ -32,7 +33,6 @@ const clickAllSlides = async (t, container, accumulator = 0) => {
|
|
|
32
33
|
await act(async () => {
|
|
33
34
|
await fireEvent.click(nextButton[0]);
|
|
34
35
|
});
|
|
35
|
-
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
36
36
|
await clickAllSlides(t, container, accumulator + 1);
|
|
37
37
|
};
|
|
38
38
|
const appOptions = {
|
package/lib/index.d.ts
CHANGED
package/lib/test/index.test.js
CHANGED
|
@@ -69,6 +69,7 @@ var waitForChanges = function (msToWait) {
|
|
|
69
69
|
});
|
|
70
70
|
};
|
|
71
71
|
var LIMIT = 5;
|
|
72
|
+
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
72
73
|
var clickAllSlides = function (t, container, accumulator) {
|
|
73
74
|
if (accumulator === void 0) { accumulator = 0; }
|
|
74
75
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
@@ -121,10 +122,8 @@ var clickAllSlides = function (t, container, accumulator) {
|
|
|
121
122
|
}); })];
|
|
122
123
|
case 4:
|
|
123
124
|
_a.sent();
|
|
124
|
-
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
125
125
|
return [4 /*yield*/, clickAllSlides(t, container, accumulator + 1)];
|
|
126
126
|
case 5:
|
|
127
|
-
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
128
127
|
_a.sent();
|
|
129
128
|
return [2 /*return*/];
|
|
130
129
|
}
|
package/package.json
CHANGED
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@coorpacademy/app-review",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.3",
|
|
4
4
|
"description": "",
|
|
5
5
|
"engines": {
|
|
6
6
|
"node": ">=16.15.0"
|
|
7
7
|
},
|
|
8
8
|
"license": "UNLICENSED",
|
|
9
9
|
"scripts": {
|
|
10
|
-
"static": "webpack --progress --output-path static
|
|
11
|
-
"poststatic": "cp sandbox/index.html static/index.html",
|
|
10
|
+
"static": "webpack --progress --output-path static",
|
|
12
11
|
"start": "cross-env BABEL_ENV=es webpack-dev-server",
|
|
13
12
|
"prepare": "npm run clean && npm run build --production",
|
|
14
13
|
"build:commonjs": "tsc -p tsconfig.lib.json",
|
|
@@ -43,8 +42,8 @@
|
|
|
43
42
|
"./package.json": "./package.json"
|
|
44
43
|
},
|
|
45
44
|
"dependencies": {
|
|
46
|
-
"@coorpacademy/components": "10.24.
|
|
47
|
-
"@coorpacademy/redux-task": "
|
|
45
|
+
"@coorpacademy/components": "10.24.2",
|
|
46
|
+
"@coorpacademy/redux-task": "1.1.6",
|
|
48
47
|
"cross-fetch": "^3.1.5",
|
|
49
48
|
"jwt-decode": "^3.1.2",
|
|
50
49
|
"react-redux": "^7.2.9",
|
|
@@ -58,7 +57,7 @@
|
|
|
58
57
|
"devDependencies": {
|
|
59
58
|
"@coorpacademy/css-modules-require-hook": "2.1.5",
|
|
60
59
|
"@coorpacademy/eslint-plugin-coorpacademy": "^11.0.0",
|
|
61
|
-
"@coorpacademy/webpack-config": "
|
|
60
|
+
"@coorpacademy/webpack-config": "11.0.0",
|
|
62
61
|
"@testing-library/react": "^12.1.5",
|
|
63
62
|
"@types/lodash": "^4.14.182",
|
|
64
63
|
"@typescript-eslint/eslint-plugin": "^5.28.0",
|
|
@@ -68,6 +67,7 @@
|
|
|
68
67
|
"concurrently": "^5.2.0",
|
|
69
68
|
"eslint": "^8.18.0",
|
|
70
69
|
"eslint-plugin-react-hooks": "^4.6.0",
|
|
70
|
+
"html-webpack-plugin": "^5.5.0",
|
|
71
71
|
"nock": "^13.2.9",
|
|
72
72
|
"react-dom": "^17.0.2",
|
|
73
73
|
"ts-loader": "^9.4.1",
|
|
@@ -77,5 +77,5 @@
|
|
|
77
77
|
"webpack-cli": "^4.10.0",
|
|
78
78
|
"webpack-dev-server": "^4.11.1"
|
|
79
79
|
},
|
|
80
|
-
"gitHead": "
|
|
80
|
+
"gitHead": "90d579426a1435f4eb29884b34623ec4adbb4d70"
|
|
81
81
|
}
|
package/src/test/index.test.tsx
CHANGED
|
@@ -22,6 +22,7 @@ const waitForChanges = async (msToWait = 3000): Promise<void> => {
|
|
|
22
22
|
|
|
23
23
|
const LIMIT = 5;
|
|
24
24
|
|
|
25
|
+
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
25
26
|
const clickAllSlides = async (
|
|
26
27
|
t: ExecutionContext<unknown>,
|
|
27
28
|
container: HTMLElement,
|
|
@@ -53,7 +54,6 @@ const clickAllSlides = async (
|
|
|
53
54
|
await fireEvent.click(nextButton[0]);
|
|
54
55
|
});
|
|
55
56
|
|
|
56
|
-
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
57
57
|
await clickAllSlides(t, container, accumulator + 1);
|
|
58
58
|
};
|
|
59
59
|
|