@etsoo/react 1.7.31 → 1.7.33

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.
@@ -21,7 +21,7 @@ test('Tests for EventWatcher', () => {
21
21
  render(<App callback={callback} />);
22
22
  const button = screen.getByRole<HTMLButtonElement>('button');
23
23
  button.click();
24
- expect(callback).toBeCalled();
24
+ expect(callback).toHaveBeenCalled();
25
25
  button.click();
26
- expect(callback).toBeCalledTimes(1);
26
+ expect(callback).toHaveBeenCalledTimes(1);
27
27
  });
@@ -31,7 +31,7 @@ test('Tests for useAsyncState', (done) => {
31
31
 
32
32
  setTimeout(function () {
33
33
  // Expect to happen
34
- expect(callback).lastCalledWith(2);
34
+ expect(callback).toHaveBeenLastCalledWith(2);
35
35
 
36
36
  // Notify jest to complete
37
37
  done();
package/package.json CHANGED
@@ -1,9 +1,8 @@
1
1
  {
2
2
  "name": "@etsoo/react",
3
- "version": "1.7.31",
3
+ "version": "1.7.33",
4
4
  "description": "TypeScript ReactJs UI Independent Framework",
5
5
  "main": "lib/index.js",
6
- "type": "module",
7
6
  "types": "lib/index.d.ts",
8
7
  "scripts": {
9
8
  "build": "tsc",
@@ -51,9 +50,9 @@
51
50
  "@emotion/css": "^11.11.2",
52
51
  "@emotion/react": "^11.11.4",
53
52
  "@emotion/styled": "^11.11.0",
54
- "@etsoo/appscript": "^1.4.79",
55
- "@etsoo/notificationbase": "^1.1.40",
56
- "@etsoo/shared": "^1.2.31",
53
+ "@etsoo/appscript": "^1.4.82",
54
+ "@etsoo/notificationbase": "^1.1.41",
55
+ "@etsoo/shared": "^1.2.34",
57
56
  "react": "^18.2.0",
58
57
  "react-dom": "^18.2.0",
59
58
  "react-router-dom": "^6.22.2",
@@ -68,7 +67,7 @@
68
67
  "@testing-library/jest-dom": "^6.4.2",
69
68
  "@testing-library/react": "^14.2.1",
70
69
  "@types/jest": "^29.5.12",
71
- "@types/react": "^18.2.61",
70
+ "@types/react": "^18.2.62",
72
71
  "@types/react-dom": "^18.2.19",
73
72
  "@types/react-window": "^1.8.8",
74
73
  "jest": "^29.7.0",