Skip to content

Commit ee6d902

Browse files
Update packages/chart/src/FigureChartModel.test.ts
Co-authored-by: Brian Ingles <github@emeraldwalk.com>
1 parent 764c89f commit ee6d902

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

packages/chart/src/FigureChartModel.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,7 @@ it('updates the title correctly', () => {
151151
expect(mockSubscribe).toHaveBeenCalledWith(
152152
expect.objectContaining({
153153
type: FigureChartModel.EVENT_LAYOUT_UPDATED,
154+
detail: { title: { text: 'New Title', pad: { t: 8 } } },
154155
})
155156
);
156157
});

0 commit comments

Comments
 (0)