mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-08-30 05:36:43 +02:00
limit the test cases for only two direction
This commit is contained in:
@@ -1,7 +1,12 @@
|
|||||||
import { imgSnapshotTest } from '../../helpers/util';
|
import { imgSnapshotTest } from '../../helpers/util';
|
||||||
|
|
||||||
const looks = ['classic', 'handDrawn'] as const;
|
const looks = ['classic', 'handDrawn'] as const;
|
||||||
const directions = ['TB', 'BT', 'LR', 'RL'] as const;
|
const directions = [
|
||||||
|
'TB',
|
||||||
|
//'BT',
|
||||||
|
'LR',
|
||||||
|
// 'RL'
|
||||||
|
] as const;
|
||||||
const forms = [undefined, 'square', 'circle', 'rounded'] as const;
|
const forms = [undefined, 'square', 'circle', 'rounded'] as const;
|
||||||
const labelPos = [undefined, 't', 'b'] as const;
|
const labelPos = [undefined, 't', 'b'] as const;
|
||||||
|
|
||||||
|
@@ -1,7 +1,12 @@
|
|||||||
import { imgSnapshotTest } from '../../helpers/util';
|
import { imgSnapshotTest } from '../../helpers/util';
|
||||||
|
|
||||||
const looks = ['classic', 'handDrawn'] as const;
|
const looks = ['classic', 'handDrawn'] as const;
|
||||||
const directions = ['TB', 'BT', 'LR', 'RL'] as const;
|
const directions = [
|
||||||
|
'TB',
|
||||||
|
//'BT',
|
||||||
|
'LR',
|
||||||
|
// 'RL'
|
||||||
|
] as const;
|
||||||
const labelPos = [undefined, 't', 'b'] as const;
|
const labelPos = [undefined, 't', 'b'] as const;
|
||||||
|
|
||||||
looks.forEach((look) => {
|
looks.forEach((look) => {
|
||||||
|
@@ -1,7 +1,12 @@
|
|||||||
import { imgSnapshotTest } from '../../helpers/util.ts';
|
import { imgSnapshotTest } from '../../helpers/util.ts';
|
||||||
|
|
||||||
const looks = ['classic', 'handDrawn'] as const;
|
const looks = ['classic', 'handDrawn'] as const;
|
||||||
const directions = ['TB', 'BT', 'LR', 'RL'] as const;
|
const directions = [
|
||||||
|
'TB',
|
||||||
|
//'BT',
|
||||||
|
'LR',
|
||||||
|
//'RL'
|
||||||
|
] as const;
|
||||||
const newShapesSet1 = [
|
const newShapesSet1 = [
|
||||||
'triangle',
|
'triangle',
|
||||||
'sloped-rectangle',
|
'sloped-rectangle',
|
||||||
|
@@ -1,7 +1,12 @@
|
|||||||
import { imgSnapshotTest } from '../../helpers/util';
|
import { imgSnapshotTest } from '../../helpers/util';
|
||||||
|
|
||||||
const looks = ['classic', 'handDrawn'] as const;
|
const looks = ['classic', 'handDrawn'] as const;
|
||||||
const directions = ['TB', 'BT', 'LR', 'RL'] as const;
|
const directions = [
|
||||||
|
'TB',
|
||||||
|
//'BT',
|
||||||
|
'LR',
|
||||||
|
//'RL'
|
||||||
|
] as const;
|
||||||
|
|
||||||
const shapesSet1 = ['text', 'card', 'shadedProcess', 'diamond', 'hexagon'] as const;
|
const shapesSet1 = ['text', 'card', 'shadedProcess', 'diamond', 'hexagon'] as const;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user