slice-machine-ui 1.18.1-dev-next-release.3 → 1.18.1-dev-next-release.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/components/Button/index.tsx +2 -2
- package/components/Changelog/index.tsx +1 -1
- package/components/Changelog/versionDetails/UpdateCommandBox.tsx +1 -1
- package/components/ChangesItems/ChangesItems.tsx +2 -2
- package/components/CustomTypeTable/changesPage.tsx +1 -1
- package/components/DeleteDocumentsDrawer/HardDeleteDocumentsDrawer.tsx +3 -3
- package/components/DeleteDocumentsDrawer/ReferencesErrorDrawer.tsx +3 -3
- package/components/DeleteDocumentsDrawer/SoftDeleteDocumentsDrawer.tsx +3 -3
- package/components/DeleteSliceModal/index.tsx +1 -1
- package/components/FormFields/CheckboxControl.jsx +1 -1
- package/components/Forms/CreateCustomTypeModal/CreateCustomTypeModal.tsx +5 -5
- package/components/Forms/CreateSliceModal/CreateSliceModal.tsx +1 -1
- package/components/Forms/RenameSliceModal/RenameSliceModal.tsx +1 -1
- package/components/Forms/formsValidator.ts +2 -2
- package/components/Grid/index.tsx +1 -1
- package/components/Li/index.tsx +2 -2
- package/components/ListItem/index.tsx +2 -2
- package/components/ListItem/utils.js +1 -1
- package/components/LoginModal/index.tsx +2 -2
- package/components/ModalFormCard/index.tsx +2 -2
- package/components/Navigation/VideoItem.tsx +2 -2
- package/components/Navigation/index.test.tsx +8 -8
- package/components/Navigation/index.tsx +2 -2
- package/components/ReviewModal/ReviewForm.tsx +1 -1
- package/components/ReviewModal/ReviewModal.tsx +4 -4
- package/components/ScreenshotChangesModal/VariationDropZone.tsx +6 -6
- package/components/ScreenshotChangesModal/index.tsx +3 -3
- package/components/ScreenshotPreviewModal/index.tsx +2 -2
- package/components/Simulator/components/Header/index.tsx +1 -1
- package/components/Simulator/components/IframeRenderer/index.tsx +2 -2
- package/components/Simulator/components/SetupModal/index.tsx +1 -1
- package/components/Simulator/components/Toolbar/index.tsx +2 -2
- package/components/Simulator/index.tsx +5 -5
- package/components/Tooltip/TextWithTooltip.tsx +1 -1
- package/lib/builders/CustomTypeBuilder/SliceZone/List.tsx +2 -2
- package/lib/builders/CustomTypeBuilder/SliceZone/SlicesTemplatesModal.tsx +4 -4
- package/lib/builders/CustomTypeBuilder/SliceZone/UpdateSliceZoneModal.tsx +1 -1
- package/lib/builders/CustomTypeBuilder/SliceZone/index.tsx +12 -12
- package/lib/builders/CustomTypeBuilder/TabZone/index.tsx +1 -1
- package/lib/builders/CustomTypeBuilder/index.tsx +1 -1
- package/lib/builders/SliceBuilder/FieldZones/index.tsx +4 -4
- package/lib/builders/SliceBuilder/Header/SimulatorButton/index.tsx +1 -1
- package/lib/builders/SliceBuilder/Header/VariationsPopover/index.tsx +1 -1
- package/lib/builders/SliceBuilder/Header/index.tsx +2 -2
- package/lib/builders/SliceBuilder/index.tsx +2 -2
- package/lib/builders/common/EditModal/Form.jsx +1 -1
- package/lib/builders/common/EditModal/index.jsx +3 -3
- package/lib/builders/common/Zone/Card/components/NewField.tsx +7 -7
- package/lib/builders/common/Zone/index.jsx +2 -2
- package/lib/builders/utils/index.ts +1 -1
- package/lib/forms/defaults.ts +3 -3
- package/lib/forms/fields.ts +3 -3
- package/lib/forms/index.ts +3 -3
- package/lib/models/common/ComponentUI.ts +3 -3
- package/lib/models/common/CustomType/group.ts +2 -2
- package/lib/models/common/CustomType/index.ts +4 -4
- package/lib/models/common/CustomType/tab.ts +7 -7
- package/lib/models/common/ErrorWithStatus.ts +4 -1
- package/lib/models/common/Fields.ts +1 -1
- package/lib/models/common/Group.ts +5 -5
- package/lib/models/common/Library.ts +1 -1
- package/lib/models/common/Manifest.ts +4 -4
- package/lib/models/common/ModelData.ts +6 -6
- package/lib/models/common/ModelStatus/compareCustomTypeModels.ts +1 -1
- package/lib/models/common/ModelStatus/compareSliceModels.ts +4 -4
- package/lib/models/common/ModelStatus/index.ts +5 -5
- package/lib/models/common/Screenshots.ts +1 -1
- package/lib/models/common/Slice.ts +7 -7
- package/lib/models/common/Slices.ts +5 -5
- package/lib/models/common/UserProfile.ts +1 -1
- package/lib/models/common/Variation.ts +6 -6
- package/lib/models/common/normalizers/customType.ts +3 -3
- package/lib/models/common/normalizers/slices.ts +2 -2
- package/lib/models/common/widgets/Boolean/index.ts +2 -2
- package/lib/models/common/widgets/ContentRelationship/Form.tsx +2 -2
- package/lib/models/common/widgets/ContentRelationship/index.ts +2 -2
- package/lib/models/common/widgets/Group/ListItem/index.jsx +3 -3
- package/lib/models/common/widgets/Image/Form.tsx +3 -3
- package/lib/models/common/widgets/StructuredText/Form.tsx +2 -2
- package/lib/models/common/widgets/StructuredText/index.ts +2 -2
- package/lib/utils/index.ts +1 -1
- package/lib/utils/poll.ts +3 -3
- package/lib/utils/shared/customTypes.ts +1 -1
- package/next.config.mjs +3 -3
- package/out/404.html +1 -1
- package/out/_next/static/chunks/125-e3857af2068bbedf.js +11 -0
- package/out/_next/static/chunks/pages/{_app-24537d01d860293a.js → _app-b04ec71c46729221.js} +12 -12
- package/out/_next/static/{cjz0yUXdEAw1xeqGTjS8s → j0GKKng3reAX2Jcp0Dw_g}/_buildManifest.js +1 -1
- package/out/changelog.html +1 -1
- package/out/changes.html +1 -1
- package/out/custom-types/[customTypeId].html +1 -1
- package/out/custom-types.html +1 -1
- package/out/index.html +1 -1
- package/out/labs.html +1 -1
- package/out/page-types/[pageTypeId].html +1 -1
- package/out/slices/[lib]/[sliceName]/[variation]/screenshot.html +1 -1
- package/out/slices/[lib]/[sliceName]/[variation]/simulator.html +1 -1
- package/out/slices/[lib]/[sliceName]/[variation].html +1 -1
- package/out/slices.html +1 -1
- package/package.json +5 -5
- package/pages/_app.tsx +1 -1
- package/pages/api/embed.js +1 -1
- package/pages/slices.tsx +4 -4
- package/src/apiClient.ts +11 -11
- package/src/components/BaseHoverCard/BaseHoverCard.test.tsx +1 -1
- package/src/components/HoverCard/HoverCard.tsx +1 -1
- package/src/components/SideNav/SideNav.tsx +2 -2
- package/src/components/Table/Table.test.tsx +1 -1
- package/src/components/TextLink/TextLink.tsx +1 -1
- package/src/domain/__tests__/CustomTypeModel.test.ts +19 -19
- package/src/domain/customType.ts +10 -10
- package/src/domain/slice.ts +5 -5
- package/src/features/changes/StatusBadge.tsx +1 -1
- package/src/features/customTypes/EditDropdown.tsx +1 -1
- package/src/features/customTypes/PageTypeOnboarding.tsx +2 -2
- package/src/features/customTypes/__tests__/CustomTypeBuilderPage.test.tsx +7 -7
- package/src/features/customTypes/__tests__/CustomTypesTablePage.test.tsx +24 -22
- package/src/features/customTypes/actions/convertCustomToPageType.ts +3 -3
- package/src/features/customTypes/actions/deleteCustomType.ts +1 -1
- package/src/features/customTypes/actions/renameCustomType.ts +1 -1
- package/src/features/customTypes/customTypesBuilder/CustomTypesBuilderPage.tsx +3 -3
- package/src/features/customTypes/customTypesConfig.ts +3 -3
- package/src/features/customTypes/customTypesTable/CustomTypesTable.tsx +2 -2
- package/src/features/customTypes/customTypesTable/CustomTypesTablePage.tsx +3 -3
- package/src/features/customTypes/customTypesTable/createCustomType.ts +2 -2
- package/src/features/customTypes/customTypesTable/useCustomTypes.ts +7 -7
- package/src/features/labs/labsList/LabsList.tsx +3 -3
- package/src/features/labs/labsList/useLab.tsx +1 -1
- package/src/features/slices/actions/addSlicesToSliceZone.ts +1 -1
- package/src/features/slices/convertLegacySlice/ConvertLegacySliceAsNewSliceDialog.tsx +2 -2
- package/src/features/slices/convertLegacySlice/ConvertLegacySliceAsNewVariationDialog.tsx +5 -5
- package/src/features/slices/convertLegacySlice/ConvertLegacySliceButton.tsx +11 -11
- package/src/features/slicesTemplates/useSlicesTemplates.ts +1 -1
- package/src/hooks/useCurrentSlice.tsx +2 -2
- package/src/hooks/useElementSize.ts +1 -1
- package/src/hooks/useModelStatus.ts +13 -10
- package/src/hooks/useRouteChange.tsx +1 -1
- package/src/hooks/useSMTracker.ts +2 -2
- package/src/hooks/useSliceMachineConfig.ts +1 -1
- package/src/hooks/useThrottle.ts +10 -7
- package/src/hooks/useUnSyncChanges.ts +5 -5
- package/src/hooks/useWindowDimensions.ts +1 -1
- package/src/modules/availableCustomTypes/index.ts +19 -19
- package/src/modules/environment/index.ts +6 -6
- package/src/modules/loading/index.ts +3 -3
- package/src/modules/modal/index.ts +2 -2
- package/src/modules/pushChangesSaga/index.ts +7 -7
- package/src/modules/pushChangesSaga/trackPushChangesSuccess.ts +3 -3
- package/src/modules/screenshots/actions.ts +2 -2
- package/src/modules/screenshots/sagas.ts +9 -9
- package/src/modules/selectedCustomType/actions.ts +10 -10
- package/src/modules/selectedCustomType/reducer.ts +26 -26
- package/src/modules/selectedCustomType/sagas.ts +5 -5
- package/src/modules/selectedCustomType/selectors.ts +4 -4
- package/src/modules/selectedCustomType/stateHelpers.ts +1 -1
- package/src/modules/selectedSlice/actions.ts +4 -4
- package/src/modules/selectedSlice/reducer.ts +7 -7
- package/src/modules/selectedSlice/sagas.ts +4 -4
- package/src/modules/selectedSlice/selectors.ts +5 -5
- package/src/modules/simulator/index.ts +20 -17
- package/src/modules/slices/index.ts +18 -18
- package/src/modules/toaster/index.tsx +3 -3
- package/src/modules/toaster/utils.tsx +1 -1
- package/src/modules/useSliceMachineActions.ts +43 -41
- package/src/modules/userContext/index.ts +9 -9
- package/src/redux/store.ts +2 -2
- package/src/theme.ts +1 -1
- package/src/utils/editor.ts +1 -1
- package/src/utils/fieldNameCreator.ts +2 -2
- package/test/__setup__.ts +18 -7
- package/test/__testutils__/createPrismicAuthLoginResponse.ts +1 -1
- package/test/__testutils__/createTestPlugin.ts +1 -1
- package/test/__testutils__/createTestProject.ts +3 -3
- package/test/__testutils__/index.tsx +1 -1
- package/test/__testutils__/mockAWSACLAPI.ts +9 -9
- package/test/__testutils__/mockCustomTypesAPI.ts +16 -16
- package/test/__testutils__/mockPrismicAuthAPI.ts +3 -3
- package/test/__testutils__/mockPrismicUserAPI.ts +4 -4
- package/test/__testutils__/readMSWFormData.ts +3 -3
- package/test/components/CreateCustomTypeModal.test.tsx +1 -1
- package/test/components/LoginModal.test.tsx +2 -2
- package/test/lib/builders/EditModal.test.tsx +5 -5
- package/test/lib/builders/buildersUtils.test.ts +13 -13
- package/test/lib/models/common/CustomType/sliceZone.test.ts +2 -2
- package/test/lib/models/common/ModelStatus.test.ts +1 -1
- package/test/lib/models/common/widgets/index.test.ts +6 -6
- package/test/lib/utils/shared/customTypes.test.ts +1 -1
- package/test/pages/custom-types.test.tsx +7 -7
- package/test/pages/simulator.test.tsx +5 -5
- package/test/pages/slices.test.tsx +4 -4
- package/test/src/hooks/useModelStatus.test.ts +2 -3
- package/test/src/modules/__fixtures__/sliceUtilsFactory.ts +2 -2
- package/test/src/modules/availableCustomTypes/index.test.ts +20 -18
- package/test/src/modules/environment.test.ts +2 -2
- package/test/src/modules/loading.test.ts +1 -1
- package/test/src/modules/modal.test.ts +1 -1
- package/test/src/modules/pushChangesSaga.test.ts +10 -10
- package/test/src/modules/screenshots/sagas.test.ts +5 -5
- package/test/src/modules/selectedCustomType/reducer.test.ts +25 -25
- package/test/src/modules/selectedCustomType/sagas.test.ts +3 -3
- package/test/src/modules/selectedSlice/__testutils__/getRefreshStateCreatorPayloadData.ts +1 -1
- package/test/src/modules/selectedSlice/reducer.test.ts +12 -12
- package/test/src/modules/selectedSlice/sagas.test.ts +6 -6
- package/test/src/modules/simulator.test.ts +10 -10
- package/test/src/modules/slices.test.ts +5 -5
- package/test/src/modules/toaster/utils.test.ts +3 -3
- package/test/src/normalizers/customType.test.ts +5 -5
- package/test/src/utils/fieldNameCreator.test.ts +1 -1
- package/out/_next/static/chunks/125-84464edfe25651eb.js +0 -19
- /package/out/_next/static/{cjz0yUXdEAw1xeqGTjS8s → j0GKKng3reAX2Jcp0Dw_g}/_ssgManifest.js +0 -0
|
@@ -39,14 +39,14 @@ describe("[Simulator module]", () => {
|
|
|
39
39
|
it("should return the initial state if no action", () => {
|
|
40
40
|
// @ts-expect-error TS(2345) FIXME: Argument of type '{}' is not assignable to paramet... Remove this comment to see the full error message
|
|
41
41
|
expect(simulatorReducer(dummySimulatorState, {})).toEqual(
|
|
42
|
-
dummySimulatorState
|
|
42
|
+
dummySimulatorState,
|
|
43
43
|
);
|
|
44
44
|
});
|
|
45
45
|
|
|
46
46
|
it("should return the initial state if no matching action", () => {
|
|
47
47
|
expect(
|
|
48
48
|
// @ts-expect-error TS(2322) FIXME: Type '"NO.MATCH"' is not assignable to type '"SIMU... Remove this comment to see the full error message
|
|
49
|
-
simulatorReducer(dummySimulatorState, { type: "NO.MATCH" })
|
|
49
|
+
simulatorReducer(dummySimulatorState, { type: "NO.MATCH" }),
|
|
50
50
|
).toEqual(dummySimulatorState);
|
|
51
51
|
});
|
|
52
52
|
|
|
@@ -136,7 +136,7 @@ describe("[Simulator module]", () => {
|
|
|
136
136
|
checkSimulatorSetupCreator.success({
|
|
137
137
|
setupStatus: response,
|
|
138
138
|
setupSteps: response2.steps,
|
|
139
|
-
})
|
|
139
|
+
}),
|
|
140
140
|
);
|
|
141
141
|
saga.next().put(updateManifestCreator({ value: undefined }));
|
|
142
142
|
saga.next().isDone();
|
|
@@ -189,7 +189,7 @@ describe("[Simulator module]", () => {
|
|
|
189
189
|
checkSimulatorSetupCreator.failure({
|
|
190
190
|
setupSteps: payload.setupSteps,
|
|
191
191
|
error: new Error(),
|
|
192
|
-
})
|
|
192
|
+
}),
|
|
193
193
|
);
|
|
194
194
|
saga
|
|
195
195
|
.next()
|
|
@@ -217,12 +217,12 @@ describe("[Simulator module]", () => {
|
|
|
217
217
|
checkSimulatorSetupCreator.failure({
|
|
218
218
|
setupSteps: payload.setupSteps,
|
|
219
219
|
error: new Error(),
|
|
220
|
-
})
|
|
220
|
+
}),
|
|
221
221
|
)
|
|
222
222
|
.put(
|
|
223
223
|
modalOpenCreator({
|
|
224
224
|
modalKey: ModalKeysEnum.SIMULATOR_SETUP,
|
|
225
|
-
})
|
|
225
|
+
}),
|
|
226
226
|
)
|
|
227
227
|
.run();
|
|
228
228
|
});
|
|
@@ -265,7 +265,7 @@ describe("[Simulator module]", () => {
|
|
|
265
265
|
createSliceMachineManagerMSWHandler({
|
|
266
266
|
url: "http://localhost:3000/_manager",
|
|
267
267
|
sliceMachineManager: manager,
|
|
268
|
-
})
|
|
268
|
+
}),
|
|
269
269
|
);
|
|
270
270
|
|
|
271
271
|
const updateSliceMocksSpy = vi.spyOn(manager.slices, "updateSliceMocks");
|
|
@@ -281,7 +281,7 @@ describe("[Simulator module]", () => {
|
|
|
281
281
|
openToasterCreator({
|
|
282
282
|
type: ToasterType.SUCCESS,
|
|
283
283
|
content: "Saved",
|
|
284
|
-
})
|
|
284
|
+
}),
|
|
285
285
|
)
|
|
286
286
|
.put(updateSliceMock(payload.payload))
|
|
287
287
|
.put(updateSelectedSliceMocks({ mocks: payload.payload.mocks }))
|
|
@@ -317,7 +317,7 @@ describe("[Simulator module]", () => {
|
|
|
317
317
|
createSliceMachineManagerMSWHandler({
|
|
318
318
|
url: "http://localhost:3000/_manager",
|
|
319
319
|
sliceMachineManager: manager,
|
|
320
|
-
})
|
|
320
|
+
}),
|
|
321
321
|
);
|
|
322
322
|
|
|
323
323
|
const updateSliceMocksSpy = vi.spyOn(manager.slices, "updateSliceMocks");
|
|
@@ -335,7 +335,7 @@ describe("[Simulator module]", () => {
|
|
|
335
335
|
openToasterCreator({
|
|
336
336
|
type: ToasterType.ERROR,
|
|
337
337
|
content: errorMessage,
|
|
338
|
-
})
|
|
338
|
+
}),
|
|
339
339
|
)
|
|
340
340
|
.put(saveSliceMockCreator.failure())
|
|
341
341
|
.run();
|
|
@@ -32,7 +32,7 @@ describe("[Slices module]", () => {
|
|
|
32
32
|
it("should return the initial state if no matching action", () => {
|
|
33
33
|
// @ts-expect-error TS(2322) FIXME: Type '"NO.MATCH"' is not assignable to type '"STAT... Remove this comment to see the full error message
|
|
34
34
|
expect(slicesReducer(dummySlicesState, { type: "NO.MATCH" })).toEqual(
|
|
35
|
-
dummySlicesState
|
|
35
|
+
dummySlicesState,
|
|
36
36
|
);
|
|
37
37
|
});
|
|
38
38
|
|
|
@@ -122,7 +122,7 @@ describe("[Slices module]", () => {
|
|
|
122
122
|
};
|
|
123
123
|
const saga = testSaga(
|
|
124
124
|
deleteSliceSaga,
|
|
125
|
-
deleteSliceCreator.request(actionPayload)
|
|
125
|
+
deleteSliceCreator.request(actionPayload),
|
|
126
126
|
);
|
|
127
127
|
|
|
128
128
|
saga
|
|
@@ -133,7 +133,7 @@ describe("[Slices module]", () => {
|
|
|
133
133
|
openToasterCreator({
|
|
134
134
|
content: `Successfully deleted Slice “${actionPayload.sliceName}”`,
|
|
135
135
|
type: ToasterType.SUCCESS,
|
|
136
|
-
})
|
|
136
|
+
}),
|
|
137
137
|
);
|
|
138
138
|
|
|
139
139
|
saga.next().put(modalCloseCreator());
|
|
@@ -147,7 +147,7 @@ describe("[Slices module]", () => {
|
|
|
147
147
|
};
|
|
148
148
|
const saga = testSaga(
|
|
149
149
|
deleteSliceSaga,
|
|
150
|
-
deleteSliceCreator.request(actionPayload)
|
|
150
|
+
deleteSliceCreator.request(actionPayload),
|
|
151
151
|
);
|
|
152
152
|
|
|
153
153
|
saga
|
|
@@ -157,7 +157,7 @@ describe("[Slices module]", () => {
|
|
|
157
157
|
openToasterCreator({
|
|
158
158
|
content: "An unexpected error happened while deleting your slice.",
|
|
159
159
|
type: ToasterType.ERROR,
|
|
160
|
-
})
|
|
160
|
+
}),
|
|
161
161
|
);
|
|
162
162
|
|
|
163
163
|
saga.next().put(modalCloseCreator());
|
|
@@ -23,7 +23,7 @@ describe("[Toaster utils]", () => {
|
|
|
23
23
|
|
|
24
24
|
expect(addToastFakeFunction).toHaveBeenCalledWith(
|
|
25
25
|
"message",
|
|
26
|
-
ToasterType.SUCCESS
|
|
26
|
+
ToasterType.SUCCESS,
|
|
27
27
|
);
|
|
28
28
|
});
|
|
29
29
|
|
|
@@ -56,7 +56,7 @@ describe("[Toaster utils]", () => {
|
|
|
56
56
|
|
|
57
57
|
expect(addToastFakeFunction).toHaveBeenCalledWith(
|
|
58
58
|
"message",
|
|
59
|
-
ToasterType.WARNING
|
|
59
|
+
ToasterType.WARNING,
|
|
60
60
|
);
|
|
61
61
|
});
|
|
62
62
|
|
|
@@ -74,7 +74,7 @@ describe("[Toaster utils]", () => {
|
|
|
74
74
|
|
|
75
75
|
expect(addToastFakeFunction).toHaveBeenCalledWith(
|
|
76
76
|
"message",
|
|
77
|
-
ToasterType.ERROR
|
|
77
|
+
ToasterType.ERROR,
|
|
78
78
|
);
|
|
79
79
|
});
|
|
80
80
|
});
|
|
@@ -62,7 +62,7 @@ describe("Normalizer - CustomType", () => {
|
|
|
62
62
|
];
|
|
63
63
|
|
|
64
64
|
expect(
|
|
65
|
-
normalizeFrontendCustomTypes(localCustomTypes, remoteCustomTypes)
|
|
65
|
+
normalizeFrontendCustomTypes(localCustomTypes, remoteCustomTypes),
|
|
66
66
|
).toEqual({
|
|
67
67
|
id1: {
|
|
68
68
|
local: {
|
|
@@ -137,12 +137,12 @@ describe("Normalizer - CustomType", () => {
|
|
|
137
137
|
|
|
138
138
|
const normalizedCustomTypes = normalizeFrontendCustomTypes(
|
|
139
139
|
localCustomTypes,
|
|
140
|
-
[]
|
|
140
|
+
[],
|
|
141
141
|
);
|
|
142
142
|
|
|
143
143
|
expect(Object.values(normalizedCustomTypes["id1"]).length).toEqual(1);
|
|
144
144
|
expect(Object.values(normalizedCustomTypes["id1"])).not.toEqual(
|
|
145
|
-
expect.arrayContaining([undefined])
|
|
145
|
+
expect.arrayContaining([undefined]),
|
|
146
146
|
);
|
|
147
147
|
});
|
|
148
148
|
});
|
|
@@ -176,7 +176,7 @@ describe("Normalizer - CustomType", () => {
|
|
|
176
176
|
};
|
|
177
177
|
|
|
178
178
|
expect(
|
|
179
|
-
normalizeFrontendCustomType(localCustomType, remoteCustomType)
|
|
179
|
+
normalizeFrontendCustomType(localCustomType, remoteCustomType),
|
|
180
180
|
).toEqual({
|
|
181
181
|
id1: {
|
|
182
182
|
local: {
|
|
@@ -225,7 +225,7 @@ describe("Normalizer - CustomType", () => {
|
|
|
225
225
|
|
|
226
226
|
expect(Object.values(normalizedCustomType["id1"]).length).toEqual(1);
|
|
227
227
|
expect(Object.values(normalizedCustomType["id1"])).not.toEqual(
|
|
228
|
-
expect.arrayContaining([undefined])
|
|
228
|
+
expect.arrayContaining([undefined]),
|
|
229
229
|
);
|
|
230
230
|
});
|
|
231
231
|
});
|