Update rive-cpp to 2.0 version
[platform/core/uifw/rive-tizen.git] / submodule / skia / modules / canvaskit / tests / bazel / smoke_test.js
1 describe('The test harness', () => {
2     beforeEach(async () => {
3         await EverythingLoaded;
4     });
5
6     it('can do assertions', () => {
7         expect(2+3).toBe(5);
8     });
9
10     it('has access to CanvasKit', () => {
11        const r = CanvasKit.LTRBRect(1, 2, 3, 4);
12        expect(r.constructor.name).toEqual('Float32Array');
13     });
14
15     it('can talk to the Gold server', async () => {
16         const resp = await fetch('/gold_rpc/healthz');
17         expect(resp.status).toEqual(200);
18     });
19 })