@truedat/dq 4.48.2 → 4.48.5

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/dq",
3
- "version": "4.48.2",
3
+ "version": "4.48.5",
4
4
  "description": "Truedat Web Data Quality Module",
5
5
  "sideEffects": false,
6
6
  "jsnext:main": "src/index.js",
@@ -88,8 +88,8 @@
88
88
  },
89
89
  "dependencies": {
90
90
  "@apollo/client": "^3.6.4",
91
- "@truedat/core": "4.48.2",
92
- "@truedat/df": "4.48.2",
91
+ "@truedat/core": "4.48.5",
92
+ "@truedat/df": "4.48.5",
93
93
  "axios": "^0.19.2",
94
94
  "graphql": "^15.5.3",
95
95
  "path-to-regexp": "^1.7.0",
@@ -110,5 +110,5 @@
110
110
  "react-dom": ">= 16.8.6 < 17",
111
111
  "semantic-ui-react": ">= 0.88.2 < 2.1"
112
112
  },
113
- "gitHead": "93133e957332713e64c97eecdf45cc283c29bd32"
113
+ "gitHead": "668fb37a5ca8a3ca4d3009d9b6d218a8bec75d66"
114
114
  }
@@ -1,4 +1,4 @@
1
- import React, { Suspense } from "react";
1
+ import React from "react";
2
2
  import { render } from "@truedat/test/render";
3
3
  import { waitFor } from "@testing-library/react";
4
4
  import { REFERENCE_DATASETS_HEADERS_QUERY } from "@truedat/dd/api/queries";
@@ -23,7 +23,11 @@ const referenceDatasetsMock = {
23
23
  };
24
24
  const messages = { en };
25
25
 
26
- const renderOpts = { mocks: [referenceDatasetsMock], messages };
26
+ const renderOpts = {
27
+ mocks: [referenceDatasetsMock],
28
+ messages,
29
+ fallback: "lazy",
30
+ };
27
31
 
28
32
  describe("<DatasetForm />", () => {
29
33
  const setStructures = jest.fn();
@@ -31,7 +35,7 @@ describe("<DatasetForm />", () => {
31
35
  const selector = -1;
32
36
  const setImplementationKey = jest.fn();
33
37
  const implementationKey = "Impl";
34
- const structures = [1, 2];
38
+ const structures = [{ id: 1 }, { id: 2 }];
35
39
 
36
40
  const props = {
37
41
  implementationKey,
@@ -44,9 +48,7 @@ describe("<DatasetForm />", () => {
44
48
 
45
49
  it("matches the latest snapshot", async () => {
46
50
  const { container, queryByText } = render(
47
- <Suspense fallback={null}>
48
- <DatasetForm {...props} />
49
- </Suspense>,
51
+ <DatasetForm {...props} />,
50
52
  renderOpts
51
53
  );
52
54