@truedat/dd 6.13.1 → 6.13.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@truedat/dd",
3
- "version": "6.13.1",
3
+ "version": "6.13.2",
4
4
  "description": "Truedat Web Data Dictionary",
5
5
  "sideEffects": false,
6
6
  "jsnext:main": "src/index.js",
@@ -88,9 +88,9 @@
88
88
  },
89
89
  "dependencies": {
90
90
  "@apollo/client": "^3.7.1",
91
- "@truedat/auth": "6.13.1",
92
- "@truedat/core": "6.13.1",
93
- "@truedat/df": "6.13.1",
91
+ "@truedat/auth": "6.13.2",
92
+ "@truedat/core": "6.13.2",
93
+ "@truedat/df": "6.13.2",
94
94
  "lodash": "^4.17.21",
95
95
  "moment": "^2.29.4",
96
96
  "path-to-regexp": "^1.7.0",
@@ -115,5 +115,5 @@
115
115
  "react-dom": ">= 16.8.6 < 17",
116
116
  "semantic-ui-react": ">= 2.0.3 < 2.2"
117
117
  },
118
- "gitHead": "3803d8c4a416f1e1f56d88989c6c7503a08467d8"
118
+ "gitHead": "679f512be94669465bd6cb445fc61aa39e903508"
119
119
  }
@@ -25,7 +25,6 @@ function Task() {
25
25
  fetchPolicy: "cache-and-network",
26
26
  variables: { id },
27
27
  });
28
-
29
28
  const task = _.get("task")(data);
30
29
 
31
30
  const memoryStats = _.flow(
@@ -115,6 +115,6 @@ describe("<Tasks />", () => {
115
115
  await findByText("processing");
116
116
 
117
117
  userEvent.click(await findByText(/processing/i));
118
- expect(mockHistory.push.mock.calls[0][0]).toBe("/tasks/123");
118
+ expect(mockHistory.push.mock.calls[0][0]).toBe("/reindex/123");
119
119
  });
120
120
  });
@@ -1,5 +1,6 @@
1
1
  import React from "react";
2
2
  import { render } from "@truedat/test/render";
3
+ import { waitFor } from "@testing-library/react";
3
4
  import TasksRoutes from "../TasksRoutes";
4
5
  import { TASK_QUERY, TASKS_QUERY } from "../../api/queries";
5
6
  import en from "../../messages/en";
@@ -35,7 +36,7 @@ describe("<TasksRoutes />", () => {
35
36
  it("matches the latest snapshot (list route)", async () => {
36
37
  const renderOpts = {
37
38
  messages: { en },
38
- routes: ["/tasks"],
39
+ routes: ["/reindex"],
39
40
  mocks: [tasksMock],
40
41
  };
41
42
  const { container, findByText } = render(<TasksRoutes />, renderOpts);
@@ -46,7 +47,7 @@ describe("<TasksRoutes />", () => {
46
47
  it("matches the latest snapshot (view route)", async () => {
47
48
  const renderOpts = {
48
49
  messages: { en },
49
- routes: ["/tasks/123"],
50
+ routes: ["/reindex/123"],
50
51
  mocks: [taskMock],
51
52
  };
52
53
  const { container, findByText } = render(<TasksRoutes />, renderOpts);
@@ -58,7 +58,7 @@ exports[`<DictionaryRoutes /> matches the latest snapshot 1`] = `
58
58
  render={[Function]}
59
59
  />
60
60
  <Route
61
- path="/tasks"
61
+ path="/reindex"
62
62
  render={[Function]}
63
63
  />
64
64
  </Fragment>
@@ -7,7 +7,7 @@ exports[`<Task /> matches the latest snapshot 1`] = `
7
7
  >
8
8
  <a
9
9
  class="section"
10
- href="/tasks"
10
+ href="/reindex"
11
11
  >
12
12
  Tasks
13
13
  </a>
@@ -157,7 +157,7 @@ exports[`<TasksRoutes /> matches the latest snapshot (view route) 1`] = `
157
157
  >
158
158
  <a
159
159
  class="section"
160
- href="/tasks"
160
+ href="/reindex"
161
161
  >
162
162
  Tasks
163
163
  </a>