Skip to content

Commit b1fc11f

Browse files
committed
chore(chart-playground-web): move openspec change to package dir; revert maps-web test fix
1 parent 125ca8b commit b1fc11f

7 files changed

Lines changed: 9 additions & 8 deletions

File tree

openspec/changes/fix-restore-playground-editor/.openspec.yaml renamed to packages/pluggableWidgets/chart-playground-web/openspec/changes/fix-restore-playground-editor/.openspec.yaml

File renamed without changes.

openspec/changes/fix-restore-playground-editor/design.md renamed to packages/pluggableWidgets/chart-playground-web/openspec/changes/fix-restore-playground-editor/design.md

File renamed without changes.

openspec/changes/fix-restore-playground-editor/proposal.md renamed to packages/pluggableWidgets/chart-playground-web/openspec/changes/fix-restore-playground-editor/proposal.md

File renamed without changes.

openspec/changes/fix-restore-playground-editor/tasks.md renamed to packages/pluggableWidgets/chart-playground-web/openspec/changes/fix-restore-playground-editor/tasks.md

File renamed without changes.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
schema: tdd-refactor

packages/pluggableWidgets/maps-web/src/__tests__/Maps.spec.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@ describe("Maps", () => {
99
function staticMarker(latitude: string, longitude: string): MarkersType {
1010
return {
1111
locationType: "latlng",
12-
latitude: dynamic.available(latitude),
13-
longitude: dynamic.available(longitude),
14-
address: dynamic.available(""),
15-
title: dynamic.available("Static marker"),
12+
latitude: dynamic(latitude),
13+
longitude: dynamic(longitude),
14+
address: dynamic(""),
15+
title: dynamic("Static marker"),
1616
markerStyle: "default",
1717
customMarker: undefined,
1818
onClick: undefined

packages/pluggableWidgets/maps-web/src/components/__tests__/LeafletMap.spec.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ function staticMarker(
1313
): MarkersType {
1414
return {
1515
locationType: "latlng",
16-
latitude: dynamic.available(latitude),
17-
longitude: dynamic.available(longitude),
18-
address: dynamic.available(""),
19-
title: dynamic.available(opts?.title ?? ""),
16+
latitude: dynamic(latitude),
17+
longitude: dynamic(longitude),
18+
address: dynamic(""),
19+
title: dynamic(opts?.title ?? ""),
2020
markerStyle: opts?.customMarker ? "image" : "default",
2121
customMarker: opts?.customMarker ? ({ value: { uri: opts.customMarker } } as any) : undefined,
2222
onClick: opts?.onClick ? ({ canExecute: true, execute: opts.onClick } as any) : undefined

0 commit comments

Comments
 (0)