diff --git a/index.js b/index.js index 1c34e23..83f7a8f 100644 --- a/index.js +++ b/index.js @@ -25,7 +25,7 @@ function toJsonldDataset (dataset) { } function normalize (dataset) { - const canonize = new RDFC10Sync() + const canonize = new RDFC10Sync({ maxDeepIterations: 500 }) return canonize.main(toJsonldDataset(dataset)) } diff --git a/test/test.js b/test/test.js index d9b9b97..c186345 100644 --- a/test/test.js +++ b/test/test.js @@ -22,7 +22,6 @@ async function loadTest (dataset, term) { const action = [...dataset.match(term, ns.action)][0]?.object.value const result = [...dataset.match(term, ns.result)][0]?.object.value - const complexity = [...dataset.match(term, ns.complexity)][0]?.object.value if (!action || !result) { return null @@ -33,11 +32,6 @@ async function loadTest (dataset, term) { return null } - // ignore all medium or high complexity tests - if (complexity === 'medium' || complexity === 'high') { - return null - } - const input = await readFileDataset(action) const expected = await readFileContent(result)