From 9133fcb9a8b5dc1bf4e0bc9cc33ceb928fdbe906 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Thu, 17 Apr 2025 14:21:30 -0400 Subject: [PATCH] spelling: axis name Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- .../src/diagrams/xychart/parser/xychart.jison.spec.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/mermaid/src/diagrams/xychart/parser/xychart.jison.spec.ts b/packages/mermaid/src/diagrams/xychart/parser/xychart.jison.spec.ts index 2c2c0b4b9..d7de15f66 100644 --- a/packages/mermaid/src/diagrams/xychart/parser/xychart.jison.spec.ts +++ b/packages/mermaid/src/diagrams/xychart/parser/xychart.jison.spec.ts @@ -128,7 +128,7 @@ describe('Testing xychart jison file', () => { expect(mockDB.setXAxisRangeData).toHaveBeenCalledWith(45.5, 0.34); }); - it('parse x-axis without axisname and range data', () => { + it('parse x-axis without axis name and range data', () => { const str = 'xychart-beta \nx-axis 45.5 --> 1.34 \n'; expect(parserFnConstructor(str)).not.toThrow(); expect(mockDB.setXAxisTitle).toHaveBeenCalledWith({ @@ -154,7 +154,7 @@ describe('Testing xychart jison file', () => { ]); }); - it('parse x-axis without axisname and category data', () => { + it('parse x-axis without axis name and category data', () => { const str = 'xychart-beta \nx-axis [ "cat1" , cat2a ] \n '; expect(parserFnConstructor(str)).not.toThrow(); expect(mockDB.setXAxisTitle).toHaveBeenCalledWith({ @@ -244,7 +244,7 @@ describe('Testing xychart jison file', () => { expect(mockDB.setYAxisTitle).toHaveBeenCalledWith({ text: 'yAxisName', type: 'text' }); expect(mockDB.setYAxisRangeData).toHaveBeenCalledWith(45.5, 33); }); - it('parse y-axis without axisname with range data', () => { + it('parse y-axis without axis name with range data', () => { const str = 'xychart-beta \ny-axis 45.5 --> 33 \n'; expect(parserFnConstructor(str)).not.toThrow(); expect(mockDB.setYAxisTitle).toHaveBeenCalledWith({ text: '', type: 'text' });