diff --git a/src/browser/vdiff.js b/src/browser/vdiff.js index 718bb886..bc0d725e 100644 --- a/src/browser/vdiff.js +++ b/src/browser/vdiff.js @@ -1,6 +1,9 @@ import { chai, expect } from '@open-wc/testing'; import { executeServerCommand } from '@web/test-runner-commands'; +// start loading fonts early +[...document.fonts].map(font => font.load()); + let test; /* eslint-disable no-undef, no-invalid-this */ diff --git a/src/server/pause.js b/src/server/pause.js index 40e8643a..3cfb1d5c 100644 --- a/src/server/pause.js +++ b/src/server/pause.js @@ -3,6 +3,10 @@ test.pause = new Promise(r => test.start = r); const controls = `