1 // The increased timeout is especially needed with larger binaries
2 // like in the debug/gpu build
3 jasmine.DEFAULT_TIMEOUT_INTERVAL = 60000;
6 const _LoadCanvasKit = new Promise((resolve, reject) => {
7 console.log('canvaskit loading', new Date());
9 locateFile: (file) => '/static/skia/modules/canvaskit/canvaskit_wasm/'+file,
11 console.log('canvaskit loaded', new Date());
15 console.error('canvaskit failed to load', new Date(), e);
20 const _TestReportServer = new Promise((resolve, reject) => {
21 fetch('/gold_rpc/healthz').then((resp) => {
26 console.log('/healthz returned non 200 code')
29 console.log('Server for reporting results was not up', e)
34 const EverythingLoaded = Promise.all([_LoadCanvasKit, _TestReportServer]);