#22 Basic Pie Chart

This commit is contained in:
Ashish Jain
2019-09-11 21:20:28 +02:00
parent 78cae3dce7
commit 42fc23cff2
42 changed files with 2571 additions and 3602 deletions

16
e2e/spec/pie.spec.js Normal file
View File

@@ -0,0 +1,16 @@
/* 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
`,
{})
})
})