Skip to content

Commit 784141e

Browse files
committed
added actual uuid generation
1 parent 7054389 commit 784141e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/knowledge-collection-tools.test.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import { describe, it } from "mocha";
22
import N3 from 'n3';
3+
import { v4 as uuidv4 } from "uuid";
34
import { expect } from "chai";
45
import {
56
formatDataset,
@@ -313,7 +314,7 @@ describe("groupNquadsBySubject", () => {
313314
}
314315
*/
315316
const quads = [
316-
'<SOME-UUID> <http://example.org/predicate> "something"@en .',
317+
`<${uuidv4()}> <http://example.org/predicate> "something"@en .`,
317318
];
318319

319320
const grouped = groupNquadsBySubject(quads);

0 commit comments

Comments
 (0)