1 describe('The test harness', () => {
2 beforeEach(async () => {
3 await EverythingLoaded;
6 it('can do assertions', () => {
10 it('has access to CanvasKit', () => {
11 const r = CanvasKit.LTRBRect(1, 2, 3, 4);
12 expect(r.constructor.name).toEqual('Float32Array');
15 it('can talk to the Gold server', async () => {
16 const resp = await fetch('/gold_rpc/healthz');
17 expect(resp.status).toEqual(200);