comparison src/json_ld_quads.test.ts @ 17:94629c39681c

trying to do ts+jest. WIP
author drewp@bigasterisk.com
date Thu, 12 Dec 2019 22:52:57 -0800
parents
children 9ec3cbc8791a
comparison
equal deleted inserted replaced
14:497d50f8fe5b 17:94629c39681c
1 import {describe, test} from 'jest';
2
3 // import { eachJsonLdQuad } from './json_ld_quads';
4
5 describe("eachJsonLdQuad", () => {
6 test("finds multiple graphs", () => {
7 });
8 // test("returns quads", async () => {
9 // let results = [];
10 // await eachJsonLdQuad([
11 // {
12 // "@id": "http://example.com/g1",
13 // "@graph": [{
14 // "@id": "http://example.com/s1",
15 // "http://example.com/p1": [{ "@value": "lit1" }]
16 // }],
17 // }
18 // ], results.push);
19 // expect(results).toEqual('f')
20 // });
21 });