Debug of fonts in percy renderings

This commit is contained in:
Knut Sveidqvist
2020-08-16 13:01:45 +02:00
parent 450d4b5a0a
commit ba6d73fc17
13 changed files with 166 additions and 38 deletions

View File

@@ -0,0 +1,14 @@
/* eslint-env jest */
import { imgSnapshotTest } from '../../helpers/util';
describe('Flowchart', () => {
it('34: testing the label width in percy', () => {
imgSnapshotTest(
`graph TD
A[Christmas]
`,
{ theme: 'forest' , fontFamily: '"Noto Sans SC", sans-serif' }
);
});
});