Skip to content

Commit

Permalink
Merge pull request #3 from zazuko/observation-test-fix
Browse files Browse the repository at this point in the history
fix: fixed toObservation test
  • Loading branch information
bergos authored Feb 8, 2021
2 parents a7a089d + f98c809 commit 14bdd4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/rdf/test/cube/toObservation.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ function createMeasure ({ term = ns.ex('topic/a') } = {}) {
}

function findObservation (result) {
return clownface({ dataset: result[0] }).has(ns.rdf.type, ns.cube.Observation)
return clownface({ dataset: rdf.dataset(result[0]) }).has(ns.rdf.type, ns.cube.Observation)
}

describe('cube.toObservation', () => {
Expand Down

0 comments on commit 14bdd4d

Please sign in to comment.