Skip to content

Commit

Permalink
test: fix env usage
Browse files Browse the repository at this point in the history
  • Loading branch information
tpluscode committed Jan 19, 2024
1 parent 4cb5461 commit ace0282
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/formats/test/index.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,9 @@ describe('@rdfjs-elements/formats-pretty', () => {
for (const format of Object.values(mediaTypes)) {
it(`graph ${file} in format ${format}`, async () => {
// given
const graph = await $rdf.fromFile(join(__dirname, `graphs/${file}`))
const graph = await $rdf
.dataset()
.import($rdf.fromFile(join(__dirname, `graphs/${file}`)))

// when
const serialized = await getStream(
Expand Down

0 comments on commit ace0282

Please sign in to comment.