We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8c5c14d commit ffef0b7Copy full SHA for ffef0b7
packages/compass-data-modeling/src/components/diagram-editor-toolbar.spec.tsx
@@ -22,9 +22,6 @@ function renderDiagramEditorToolbar(
22
23
describe('DiagramEditorToolbar', function () {
24
it('renders nothing if step is NO_DIAGRAM_SELECTED', function () {
25
- // We should be technically throwing when step is NO_DIAGRAM_SELECTED,
26
- // but the test fails on electron when asserting that. So we are
27
- // returning null for NO_DIAGRAM_SELECTED step and testing it.
28
renderDiagramEditorToolbar({ step: 'NO_DIAGRAM_SELECTED' });
29
expect(() => screen.getByTestId('diagram-editor-toolbar')).to.throw();
30
});
0 commit comments