@truedat/audit 6.12.0 → 6.12.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/audit",
|
|
3
|
-
"version": "6.12.
|
|
3
|
+
"version": "6.12.2",
|
|
4
4
|
"description": "Truedat Web Audit Module",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"jsnext:main": "src/index.js",
|
|
@@ -84,8 +84,8 @@
|
|
|
84
84
|
]
|
|
85
85
|
},
|
|
86
86
|
"dependencies": {
|
|
87
|
-
"@truedat/auth": "6.12.
|
|
88
|
-
"@truedat/core": "6.12.
|
|
87
|
+
"@truedat/auth": "6.12.2",
|
|
88
|
+
"@truedat/core": "6.12.2",
|
|
89
89
|
"moment": "^2.29.4",
|
|
90
90
|
"path-to-regexp": "^1.7.0",
|
|
91
91
|
"prop-types": "^15.8.1",
|
|
@@ -107,5 +107,5 @@
|
|
|
107
107
|
"react-dom": ">= 16.8.6 < 17",
|
|
108
108
|
"semantic-ui-react": ">= 2.0.3 < 2.2"
|
|
109
109
|
},
|
|
110
|
-
"gitHead": "
|
|
110
|
+
"gitHead": "e0acd68539a1ed3786de65ab4fa4221455ea90a4"
|
|
111
111
|
}
|
|
@@ -85,12 +85,13 @@ describe("<SubscriptionForm />", () => {
|
|
|
85
85
|
it("test SubscriptionForm functionality", async () => {
|
|
86
86
|
const onSubmit = jest.fn();
|
|
87
87
|
const props = { onSubmit };
|
|
88
|
-
const { getByRole, findByText, queryByTestId, queryByText } =
|
|
89
|
-
|
|
90
|
-
<
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
88
|
+
const { container, getByRole, findByText, queryByTestId, queryByText } =
|
|
89
|
+
render(
|
|
90
|
+
<SearchContextWrapper props={searchProps}>
|
|
91
|
+
<SubscriptionForm {...props} />
|
|
92
|
+
</SearchContextWrapper>,
|
|
93
|
+
renderOpts
|
|
94
|
+
);
|
|
94
95
|
await waitFor(() => {
|
|
95
96
|
expect(getByRole("button", { name: "Save" })).toBeDisabled();
|
|
96
97
|
});
|
|
@@ -139,6 +140,9 @@ describe("<SubscriptionForm />", () => {
|
|
|
139
140
|
|
|
140
141
|
// Test structures
|
|
141
142
|
userEvent.click(await findByText("Structure"));
|
|
143
|
+
await waitFor(() => {
|
|
144
|
+
expect(container.querySelector(".loading")).toBeNull();
|
|
145
|
+
});
|
|
142
146
|
await waitFor(() => {
|
|
143
147
|
expect(
|
|
144
148
|
queryByText("No structures have been found matching these filters.")
|