Mercurial > code > home > repos > streamed-graph
diff 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 |
line wrap: on
line diff
--- a/src/json_ld_quads.test.ts Thu Dec 12 23:07:06 2019 -0800 +++ b/src/json_ld_quads.test.ts Fri Dec 13 01:18:00 2019 -0800 @@ -1,21 +1,19 @@ -import {describe, test} from 'jest'; - -// import { eachJsonLdQuad } from './json_ld_quads'; +//import { eachJsonLdQuad } from './json_ld_quads'; -describe("eachJsonLdQuad", () => { - test("finds multiple graphs", () => { - }); -// test("returns quads", async () => { -// let results = []; -// await eachJsonLdQuad([ -// { -// "@id": "http://example.com/g1", -// "@graph": [{ -// "@id": "http://example.com/s1", -// "http://example.com/p1": [{ "@value": "lit1" }] -// }], -// } -// ], results.push); -// expect(results).toEqual('f') +// describe("eachJsonLdQuad", () => { +// test("finds multiple graphs", () => { // }); -}); \ No newline at end of file +// // test("returns quads", async () => { +// // let results = []; +// // await eachJsonLdQuad([ +// // { +// // "@id": "http://example.com/g1", +// // "@graph": [{ +// // "@id": "http://example.com/s1", +// // "http://example.com/p1": [{ "@value": "lit1" }] +// // }], +// // } +// // ], results.push); +// // expect(results).toEqual('f') +// // }); +// }); \ No newline at end of file