mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-08-22 17:56:43 +02:00
spelling: nonexistent
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
This commit is contained in:
@@ -197,7 +197,7 @@ describe('when parsing directions', function () {
|
|||||||
expect(data4Layout.nodes[0].shape).toEqual('squareRect');
|
expect(data4Layout.nodes[0].shape).toEqual('squareRect');
|
||||||
expect(data4Layout.nodes[0].label).toEqual('This is }');
|
expect(data4Layout.nodes[0].label).toEqual('This is }');
|
||||||
});
|
});
|
||||||
it('should error on non-existent shape', function () {
|
it('should error on nonexistent shape', function () {
|
||||||
expect(() => {
|
expect(() => {
|
||||||
flow.parser.parse(`flowchart TB
|
flow.parser.parse(`flowchart TB
|
||||||
A@{ shape: this-shape-does-not-exist }
|
A@{ shape: this-shape-does-not-exist }
|
||||||
|
Reference in New Issue
Block a user