@truedat/bg 7.0.8 → 7.1.1
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 +6 -6
- package/src/taxonomy/components/__tests__/DomainStructures.spec.js +4 -0
- package/src/taxonomy/components/__tests__/__snapshots__/DomainActions.spec.js.snap +1 -0
- package/src/taxonomy/components/__tests__/__snapshots__/DomainDetail.spec.js.snap +1 -0
- package/src/taxonomy/components/__tests__/__snapshots__/DomainStructures.spec.js.snap +0 -12
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@truedat/bg",
|
|
3
|
-
"version": "7.
|
|
3
|
+
"version": "7.1.1",
|
|
4
4
|
"description": "Truedat Web Business Glossary",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"jsnext:main": "src/index.js",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"@testing-library/jest-dom": "^5.16.5",
|
|
35
35
|
"@testing-library/react": "^12.0.0",
|
|
36
36
|
"@testing-library/user-event": "^13.2.1",
|
|
37
|
-
"@truedat/test": "7.
|
|
37
|
+
"@truedat/test": "7.1.1",
|
|
38
38
|
"babel-jest": "^28.1.0",
|
|
39
39
|
"babel-plugin-dynamic-import-node": "^2.3.3",
|
|
40
40
|
"babel-plugin-lodash": "^3.3.4",
|
|
@@ -86,9 +86,9 @@
|
|
|
86
86
|
]
|
|
87
87
|
},
|
|
88
88
|
"dependencies": {
|
|
89
|
-
"@truedat/core": "7.
|
|
90
|
-
"@truedat/df": "7.
|
|
91
|
-
"@truedat/lm": "7.
|
|
89
|
+
"@truedat/core": "7.1.1",
|
|
90
|
+
"@truedat/df": "7.1.1",
|
|
91
|
+
"@truedat/lm": "7.1.1",
|
|
92
92
|
"decode-uri-component": "^0.2.2",
|
|
93
93
|
"file-saver": "^2.0.5",
|
|
94
94
|
"moment": "^2.29.4",
|
|
@@ -111,5 +111,5 @@
|
|
|
111
111
|
"react-dom": ">= 16.8.6 < 17",
|
|
112
112
|
"semantic-ui-react": ">= 2.0.3 < 2.2"
|
|
113
113
|
},
|
|
114
|
-
"gitHead": "
|
|
114
|
+
"gitHead": "f7aef0d8ae70d610b20a38b77589c9e614ae5fbd"
|
|
115
115
|
}
|
|
@@ -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 SearchContextWrapper from "@truedat/core/components/common/SearchContextWrapper";
|
|
4
5
|
import DomainStructures from "../DomainStructures";
|
|
5
6
|
|
|
@@ -79,6 +80,9 @@ describe("<DomainStructures />", () => {
|
|
|
79
80
|
</SearchContextWrapper>,
|
|
80
81
|
renderOpts
|
|
81
82
|
);
|
|
83
|
+
await waitFor(() =>
|
|
84
|
+
expect(container.querySelector(".loader")).not.toBeInTheDocument()
|
|
85
|
+
);
|
|
82
86
|
await findByText(/No structures have been found matching these filters./);
|
|
83
87
|
|
|
84
88
|
expect(container).toMatchSnapshot();
|
|
@@ -119,18 +119,6 @@ exports[`<DomainStructures /> matches the latest snapshot 1`] = `
|
|
|
119
119
|
<div
|
|
120
120
|
class="dimmable structure-table-overflow"
|
|
121
121
|
>
|
|
122
|
-
<div
|
|
123
|
-
class="ui inverted dimmer"
|
|
124
|
-
style=""
|
|
125
|
-
>
|
|
126
|
-
<div
|
|
127
|
-
class="content"
|
|
128
|
-
>
|
|
129
|
-
<div
|
|
130
|
-
class="ui large loader"
|
|
131
|
-
/>
|
|
132
|
-
</div>
|
|
133
|
-
</div>
|
|
134
122
|
<div
|
|
135
123
|
class="ui icon info message"
|
|
136
124
|
>
|