Mercurial > code > home > repos > streamed-graph
annotate src/json_ld_quads.test.ts @ 24:09080dc809ed
webpack config might finally work
author | drewp@bigasterisk.com |
---|---|
date | Fri, 13 Dec 2019 23:05:12 -0800 |
parents | 9ec3cbc8791a |
children | 45ed53428e74 |
rev | line source |
---|---|
20
9ec3cbc8791a
build is running, but no tests, and lots of code is disabled
drewp@bigasterisk.com
parents:
17
diff
changeset
|
1 //import { eachJsonLdQuad } from './json_ld_quads'; |
17 | 2 |
20
9ec3cbc8791a
build is running, but no tests, and lots of code is disabled
drewp@bigasterisk.com
parents:
17
diff
changeset
|
3 // describe("eachJsonLdQuad", () => { |
9ec3cbc8791a
build is running, but no tests, and lots of code is disabled
drewp@bigasterisk.com
parents:
17
diff
changeset
|
4 // test("finds multiple graphs", () => { |
17 | 5 // }); |
20
9ec3cbc8791a
build is running, but no tests, and lots of code is disabled
drewp@bigasterisk.com
parents:
17
diff
changeset
|
6 // // test("returns quads", async () => { |
9ec3cbc8791a
build is running, but no tests, and lots of code is disabled
drewp@bigasterisk.com
parents:
17
diff
changeset
|
7 // // let results = []; |
9ec3cbc8791a
build is running, but no tests, and lots of code is disabled
drewp@bigasterisk.com
parents:
17
diff
changeset
|
8 // // await eachJsonLdQuad([ |
9ec3cbc8791a
build is running, but no tests, and lots of code is disabled
drewp@bigasterisk.com
parents:
17
diff
changeset
|
9 // // { |
9ec3cbc8791a
build is running, but no tests, and lots of code is disabled
drewp@bigasterisk.com
parents:
17
diff
changeset
|
10 // // "@id": "http://example.com/g1", |
9ec3cbc8791a
build is running, but no tests, and lots of code is disabled
drewp@bigasterisk.com
parents:
17
diff
changeset
|
11 // // "@graph": [{ |
9ec3cbc8791a
build is running, but no tests, and lots of code is disabled
drewp@bigasterisk.com
parents:
17
diff
changeset
|
12 // // "@id": "http://example.com/s1", |
9ec3cbc8791a
build is running, but no tests, and lots of code is disabled
drewp@bigasterisk.com
parents:
17
diff
changeset
|
13 // // "http://example.com/p1": [{ "@value": "lit1" }] |
9ec3cbc8791a
build is running, but no tests, and lots of code is disabled
drewp@bigasterisk.com
parents:
17
diff
changeset
|
14 // // }], |
9ec3cbc8791a
build is running, but no tests, and lots of code is disabled
drewp@bigasterisk.com
parents:
17
diff
changeset
|
15 // // } |
9ec3cbc8791a
build is running, but no tests, and lots of code is disabled
drewp@bigasterisk.com
parents:
17
diff
changeset
|
16 // // ], results.push); |
9ec3cbc8791a
build is running, but no tests, and lots of code is disabled
drewp@bigasterisk.com
parents:
17
diff
changeset
|
17 // // expect(results).toEqual('f') |
9ec3cbc8791a
build is running, but no tests, and lots of code is disabled
drewp@bigasterisk.com
parents:
17
diff
changeset
|
18 // // }); |
9ec3cbc8791a
build is running, but no tests, and lots of code is disabled
drewp@bigasterisk.com
parents:
17
diff
changeset
|
19 // }); |