Skip to content

Commit 8b4134b

Browse files
committed
chore: update test
1 parent be7ac9a commit 8b4134b

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

packages/modules/calendar/CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,6 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66

77
## [Unreleased]
88

9+
### Added
10+
911
- Initial version of Calendar module.

packages/pluggableWidgets/calendar-web/src/__tests__/Calendar.spec.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { createElement } from "react";
22
import { render } from "@testing-library/react";
3-
import { ListValueBuilder } from "@mendix/widget-plugin-test-utils";
3+
import { dynamic, ListValueBuilder } from "@mendix/widget-plugin-test-utils";
44

55
import Calendar from "../Calendar";
66
import { CalendarContainerProps } from "../../typings/CalendarProps";
@@ -13,8 +13,8 @@ const customViewProps: CalendarContainerProps = {
1313
view: "custom",
1414
defaultViewStandard: "month",
1515
defaultViewCustom: "work_week",
16-
editable: "default",
17-
enableCreate: true,
16+
editable: dynamic(true),
17+
enableCreate: dynamic(true),
1818
widthUnit: "percentage",
1919
width: 100,
2020
heightUnit: "pixels",

0 commit comments

Comments
 (0)