Files
mermaid/e2e/spec/pie.spec.js
2019-09-11 21:20:28 +02:00

17 lines
378 B
JavaScript

/* eslint-env jest */
import { imgSnapshotTest } from '../helpers/util.js'
const { toMatchImageSnapshot } = require('jest-image-snapshot')
expect.extend({ toMatchImageSnapshot })
describe('Pie Chart simple', () => {
it('should render a simple Pie chart diagram', async () => {
await imgSnapshotTest(page, `
pie
"Ash" : 40
"Bat" : 50
`,
{})
})
})