mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-06 17:16:43 +02:00
chore: Remove numbers from tests
This commit is contained in:
@@ -424,7 +424,7 @@ describe('Class diagram', () => {
|
|||||||
cy.get('svg');
|
cy.get('svg');
|
||||||
});
|
});
|
||||||
|
|
||||||
it('20: should render class diagram with newlines in title', () => {
|
it('should render class diagram with newlines in title', () => {
|
||||||
imgSnapshotTest(`
|
imgSnapshotTest(`
|
||||||
classDiagram
|
classDiagram
|
||||||
Animal <|-- \`Du\nck\`
|
Animal <|-- \`Du\nck\`
|
||||||
@@ -442,7 +442,7 @@ describe('Class diagram', () => {
|
|||||||
cy.get('svg');
|
cy.get('svg');
|
||||||
});
|
});
|
||||||
|
|
||||||
it('21: should render class diagram with many newlines in title', () => {
|
it('should render class diagram with many newlines in title', () => {
|
||||||
imgSnapshotTest(`
|
imgSnapshotTest(`
|
||||||
classDiagram
|
classDiagram
|
||||||
class \`This\nTitle\nHas\nMany\nNewlines\` {
|
class \`This\nTitle\nHas\nMany\nNewlines\` {
|
||||||
@@ -456,7 +456,7 @@ describe('Class diagram', () => {
|
|||||||
`);
|
`);
|
||||||
});
|
});
|
||||||
|
|
||||||
it('22: should render with newlines in title and an annotation', () => {
|
it('should render with newlines in title and an annotation', () => {
|
||||||
imgSnapshotTest(`
|
imgSnapshotTest(`
|
||||||
classDiagram
|
classDiagram
|
||||||
class \`This\nTitle\nHas\nMany\nNewlines\` {
|
class \`This\nTitle\nHas\nMany\nNewlines\` {
|
||||||
@@ -471,7 +471,7 @@ describe('Class diagram', () => {
|
|||||||
`);
|
`);
|
||||||
});
|
});
|
||||||
|
|
||||||
it('23: should handle newline title in namespace', () => {
|
it('should handle newline title in namespace', () => {
|
||||||
imgSnapshotTest(`
|
imgSnapshotTest(`
|
||||||
classDiagram
|
classDiagram
|
||||||
namespace testingNamespace {
|
namespace testingNamespace {
|
||||||
|
Reference in New Issue
Block a user