mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-01-14 06:43:25 +08:00
20 lines
318 B
JavaScript
20 lines
318 B
JavaScript
import { imgSnapshotTest } from '../../helpers/util.ts';
|
|
|
|
describe('Zen UML', () => {
|
|
it('Basic Zen UML diagram', () => {
|
|
imgSnapshotTest(
|
|
`
|
|
zenuml
|
|
A.method() {
|
|
if(x) {
|
|
B.method() {
|
|
selfCall() { return X }
|
|
}
|
|
}
|
|
}
|
|
`,
|
|
{}
|
|
);
|
|
});
|
|
});
|