mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-10-11 18:19:42 +02:00
spelling: is not
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
This commit is contained in:
@@ -55,7 +55,7 @@ describe('svgDraw', function () {
|
|||||||
expect(rect.attr).toHaveBeenCalledWith('ry', '10');
|
expect(rect.attr).toHaveBeenCalledWith('ry', '10');
|
||||||
expect(rect.attr).toHaveBeenCalledWith('class', 'unitTestRectangleClass');
|
expect(rect.attr).toHaveBeenCalledWith('class', 'unitTestRectangleClass');
|
||||||
});
|
});
|
||||||
it('should not add the class attribute if a class isn`t provided', () => {
|
it('should not add the class attribute if a class is not provided', () => {
|
||||||
const svg = MockD3('svg');
|
const svg = MockD3('svg');
|
||||||
svgDraw.drawRect(svg, {
|
svgDraw.drawRect(svg, {
|
||||||
x: 10,
|
x: 10,
|
||||||
|
Reference in New Issue
Block a user