Compare commits

...

2 Commits

Author SHA1 Message Date
Sidharth Vinod
8a8893beaa try pixelmatch 2024-01-19 13:05:23 +05:30
Sidharth Vinod
2de72f6629 test 2024-01-19 12:50:00 +05:30
5 changed files with 6 additions and 15 deletions

View File

@@ -19,7 +19,7 @@ describe('Class diagram', () => {
Class07 : Object[] elementData
Class01 : size()
Class01 : int chimp
Class01 : int gorilla
Class01 : int gorillaGorilla
Class01 : -int privateChimp
Class01 : +int publicGorilla
Class01 : #int protectedMarmoset

View File

@@ -8,7 +8,6 @@ describe('Flowchart v2', () => {
B --> C{Let me think}
C -->|One| D[Laptop]
C -->|Two| E[iPhone]
C -->|Three| F[fa:fa-car Car]
`,
{}
);

View File

@@ -51,7 +51,7 @@ describe('pie chart', () => {
it('should render a pie diagram when useMaxWidth is false', () => {
renderGraph(
`pie title Sports in Sweden
"Bandy": 40
"Bandy": 140
"Ice-Hockey": 80
"Football": 90
`,

View File

@@ -5,8 +5,8 @@ describe('State diagram', () => {
imgSnapshotTest(
`
stateDiagram
[*] --> State1
State1 --> [*]
[*] --> State122
State122 --> [*]
`,
{ logLevel: 0, fontFamily: 'courier' }
);
@@ -18,7 +18,7 @@ describe('State diagram', () => {
stateDiagram
[*] --> S1
state "Some long name" as S1
state "Some long names" as S1
`,
{ logLevel: 0, fontFamily: 'courier' }
);

View File

@@ -26,12 +26,4 @@
import { addMatchImageSnapshotCommand } from 'cypress-image-snapshot/command';
addMatchImageSnapshotCommand({
comparisonMethod: 'ssim',
failureThreshold: 0.01,
failureThresholdType: 'percent',
customDiffConfig: {
ssim: 'fast',
},
blur: 1,
});
addMatchImageSnapshotCommand();