mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-01-14 06:43:25 +08:00
15 lines
306 B
JavaScript
15 lines
306 B
JavaScript
/* eslint-env jest */
|
|
import { imgSnapshotTest } from '../../helpers/util.js'
|
|
|
|
describe('Pie Chart', () => {
|
|
it('should render a simple pie diagram', () => {
|
|
imgSnapshotTest(`
|
|
pie title Sports in Sweden
|
|
"Bandy" : 40
|
|
"Ice-Hockey" : 80
|
|
"Football" : 90
|
|
`,
|
|
{})
|
|
})
|
|
})
|