Mercurial > code > home > repos > streamed-graph
comparison src/json_ld_quads.test.ts @ 20:9ec3cbc8791a
build is running, but no tests, and lots of code is disabled
author | drewp@bigasterisk.com |
---|---|
date | Fri, 13 Dec 2019 01:18:00 -0800 |
parents | 94629c39681c |
children | 45ed53428e74 |
comparison
equal
deleted
inserted
replaced
19:23fa6402c728 | 20:9ec3cbc8791a |
---|---|
1 import {describe, test} from 'jest'; | 1 //import { eachJsonLdQuad } from './json_ld_quads'; |
2 | 2 |
3 // import { eachJsonLdQuad } from './json_ld_quads'; | 3 // describe("eachJsonLdQuad", () => { |
4 | 4 // test("finds multiple graphs", () => { |
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 // }); | 5 // }); |
21 }); | 6 // // test("returns quads", async () => { |
7 // // let results = []; | |
8 // // await eachJsonLdQuad([ | |
9 // // { | |
10 // // "@id": "http://example.com/g1", | |
11 // // "@graph": [{ | |
12 // // "@id": "http://example.com/s1", | |
13 // // "http://example.com/p1": [{ "@value": "lit1" }] | |
14 // // }], | |
15 // // } | |
16 // // ], results.push); | |
17 // // expect(results).toEqual('f') | |
18 // // }); | |
19 // }); |