From ace028294ead5c4e8edbb48a235588a3beddd6ea Mon Sep 17 00:00:00 2001 From: Tomasz Pluskiewicz Date: Fri, 19 Jan 2024 12:05:14 +0100 Subject: [PATCH] test: fix env usage --- packages/formats/test/index.test.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/formats/test/index.test.js b/packages/formats/test/index.test.js index 4f28a93..112f0b7 100644 --- a/packages/formats/test/index.test.js +++ b/packages/formats/test/index.test.js @@ -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(