Skip to content

Commit b65f4c8

Browse files
committed
ensure its thrown
1 parent f9bcc51 commit b65f4c8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/compass-data-modeling/src/components/diagram-editor-toolbar.spec.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,12 @@ describe('DiagramEditorToolbar', function () {
2424
it('throws if step is NO_DIAGRAM_SELECTED', function () {
2525
expect(() => {
2626
renderDiagramEditorToolbar({ step: 'NO_DIAGRAM_SELECTED' });
27-
}).to.throw;
27+
}).to.throw();
2828
});
2929

3030
it('renders nothing if step is not EDITING', function () {
3131
renderDiagramEditorToolbar({ step: 'ANALYSIS_CANCELED' });
32-
expect(() => screen.getByTestId('diagram-editor-toolbar')).to.throw;
32+
expect(() => screen.getByTestId('diagram-editor-toolbar')).to.throw();
3333
});
3434

3535
context('undo button', function () {

0 commit comments

Comments
 (0)