#927 Adding support for cypress and Percy

This commit is contained in:
Knut Sveidqvist
2019-09-11 18:53:05 +02:00
parent e37f5a6eb2
commit 9f87ab4941
84 changed files with 4795 additions and 62 deletions

15
cypress/spec/info.spec.js Normal file
View File

@@ -0,0 +1,15 @@
/* eslint-env jest */
import { imgSnapshotTest } from '../helpers/util.js'
const { toMatchImageSnapshot } = require('jest-image-snapshot')
expect.extend({ toMatchImageSnapshot })
describe('Sequencediagram', () => {
it('should render a simple info diagrams', () => {
imgSnapshotTest(`
info
showInfo
`,
{})
})
})