mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-01-14 06:43:25 +08:00
Revert "chore: Split newshape test"
This reverts commit 1b12ac133ee06f5cd3d8e3435763e96f38db9e32.
This commit is contained in:
parent
a827fb1202
commit
1b51fbfcca
@ -1,3 +0,0 @@
|
||||
import { newShapeTest } from './newShapes';
|
||||
|
||||
newShapeTest('classic');
|
@ -1,3 +0,0 @@
|
||||
import { newShapeTest } from './newShapes';
|
||||
|
||||
newShapeTest('handDrawn');
|
@ -1,5 +1,6 @@
|
||||
import { imgSnapshotTest } from '../../helpers/util.ts';
|
||||
|
||||
const looks = ['classic', 'handDrawn'] as const;
|
||||
const directions = [
|
||||
'TB',
|
||||
//'BT',
|
||||
@ -57,7 +58,7 @@ const newShapesSets = [
|
||||
newShapesSet6,
|
||||
];
|
||||
|
||||
export const newShapeTest = (look: 'classic' | 'handDrawn') => {
|
||||
looks.forEach((look) => {
|
||||
directions.forEach((direction) => {
|
||||
newShapesSets.forEach((newShapesSet) => {
|
||||
describe(`Test ${newShapesSet.join(', ')} in ${look} look and dir ${direction}`, () => {
|
||||
@ -142,6 +143,4 @@ export const newShapeTest = (look: 'classic' | 'handDrawn') => {
|
||||
});
|
||||
});
|
||||
});
|
||||
};
|
||||
|
||||
// cspell:ignore clazz
|
||||
});
|
Loading…
x
Reference in New Issue
Block a user