chore: removed critical norm from UI

This commit is contained in:
Pim Hutting
2026-01-30 12:54:26 +01:00
parent 4fa3946a10
commit 72993b7576
2 changed files with 7 additions and 8 deletions

View File

@@ -699,15 +699,12 @@ describe('NormNode', () => {
/>
);
const checkbox = screen.getByLabelText('Critical:');
await user.click(checkbox);
await waitFor(() => {
const state = useFlowStore.getState();
expect(state.nodes).toHaveLength(1);
expect(state.nodes[0].id).toBe('norm-1');
expect(state.nodes[0].data.norm).toBe('');
expect(state.nodes[0].data.critical).toBe(true);
});
});