Mercurial > code > home > repos > streamed-graph
diff 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 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/json_ld_quads.test.ts Thu Dec 12 22:52:57 2019 -0800 @@ -0,0 +1,21 @@ +import {describe, test} from 'jest'; + +// 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') +// }); +}); \ No newline at end of file