@coorpacademy/app-review 0.5.1 → 0.5.2

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.
@@ -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 = {
@@ -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.1",
3
+ "version": "0.5.2",
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/dist",
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.0",
47
- "@coorpacademy/redux-task": "^1.1.5",
45
+ "@coorpacademy/components": "10.24.1",
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": "10.0.5",
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": "abad47a390275389da6de707a0473141eab843ac"
80
+ "gitHead": "59ed58c1e02784b3fbf1bf503ce7117a7288ccda"
81
81
  }
@@ -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