mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-08-15 14:29:25 +02:00
spelling: delegate
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
This commit is contained in:
@@ -22,7 +22,7 @@
|
|||||||
y-axis Not Important --> important
|
y-axis Not Important --> important
|
||||||
quadrant-1 Plan
|
quadrant-1 Plan
|
||||||
quadrant-2 Do
|
quadrant-2 Do
|
||||||
quadrant-3 Deligate
|
quadrant-3 Delegate
|
||||||
quadrant-4 Delete
|
quadrant-4 Delete
|
||||||
</pre>
|
</pre>
|
||||||
|
|
||||||
|
@@ -160,20 +160,20 @@ describe('Testing quadrantChart jison file', () => {
|
|||||||
});
|
});
|
||||||
|
|
||||||
it('should be able to parse quadrant3 text', () => {
|
it('should be able to parse quadrant3 text', () => {
|
||||||
let str = 'quadrantChart\nquadrant-3 deligate';
|
let str = 'quadrantChart\nquadrant-3 delegate';
|
||||||
expect(parserFnConstructor(str)).not.toThrow();
|
expect(parserFnConstructor(str)).not.toThrow();
|
||||||
expect(mockDB.setQuadrant3Text).toHaveBeenCalledWith({ text: 'deligate', type: 'text' });
|
expect(mockDB.setQuadrant3Text).toHaveBeenCalledWith({ text: 'delegate', type: 'text' });
|
||||||
|
|
||||||
clearMocks();
|
clearMocks();
|
||||||
str = 'QuadRantChart \n QuaDrant-3 Deligate ';
|
str = 'QuadRantChart \n QuaDrant-3 Delegate ';
|
||||||
expect(parserFnConstructor(str)).not.toThrow();
|
expect(parserFnConstructor(str)).not.toThrow();
|
||||||
expect(mockDB.setQuadrant3Text).toHaveBeenCalledWith({ text: 'Deligate ', type: 'text' });
|
expect(mockDB.setQuadrant3Text).toHaveBeenCalledWith({ text: 'Delegate ', type: 'text' });
|
||||||
|
|
||||||
clearMocks();
|
clearMocks();
|
||||||
str = 'QuadRantChart \n QuaDrant-3 "Deligate(* +=[❤"';
|
str = 'QuadRantChart \n QuaDrant-3 "Delegate(* +=[❤"';
|
||||||
expect(parserFnConstructor(str)).not.toThrow();
|
expect(parserFnConstructor(str)).not.toThrow();
|
||||||
expect(mockDB.setQuadrant3Text).toHaveBeenCalledWith({
|
expect(mockDB.setQuadrant3Text).toHaveBeenCalledWith({
|
||||||
text: 'Deligate(* +=[❤',
|
text: 'Delegate(* +=[❤',
|
||||||
type: 'text',
|
type: 'text',
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
Reference in New Issue
Block a user