chore: replacing percy with cypress-image-snapshots

This commit is contained in:
Knut Sveidqvist
2022-03-31 18:06:04 +02:00
parent b380d46c66
commit 3c0a2f0fd0
15 changed files with 279 additions and 22 deletions

View File

@@ -4,7 +4,7 @@ describe('Pie Chart', () => {
it('should render a simple pie diagram', () => {
imgSnapshotTest(
`
pie title Sports in Sweden
pie title Sports in Sweden!
"Bandy" : 40
"Ice-Hockey" : 80
"Football" : 90

View File

@@ -158,7 +158,7 @@ describe('State diagram', () => {
);
cy.get('svg');
});
it('v2 should render a simple state diagrams', () => {
it('v2 should render a simple state diagrams 2', () => {
imgSnapshotTest(
`
stateDiagram-v2