Revert "chore: Split newshape test"

This reverts commit 1b12ac133ee06f5cd3d8e3435763e96f38db9e32.
This commit is contained in:
Sidharth Vinod 2024-10-08 13:36:16 +05:30
parent a827fb1202
commit 1b51fbfcca
No known key found for this signature in database
GPG Key ID: FB5CCD378D3907CD
3 changed files with 3 additions and 10 deletions

View File

@ -1,3 +0,0 @@
import { newShapeTest } from './newShapes';
newShapeTest('classic');

View File

@ -1,3 +0,0 @@
import { newShapeTest } from './newShapes';
newShapeTest('handDrawn');

View File

@ -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
});