Skip to content

Commit

Permalink
test: better assertion
Browse files Browse the repository at this point in the history
  • Loading branch information
tpluscode committed Sep 12, 2024
1 parent 6edc407 commit 761a879
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions test/e2e/forEach.e2e.test.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
import { deepStrictEqual, strictEqual } from 'node:assert'
import { strictEqual } from 'node:assert'
import { createPipeline } from 'barnard59-core'
import getStream from 'get-stream'
import { pipelineDefinitionLoader } from 'barnard59-test-support/loadPipelineDefinition.js'
import env from 'barnard59-env'
import { expect } from 'chai'

const loadPipelineDefinition = pipelineDefinitionLoader(import.meta.url, 'definitions')

Expand Down Expand Up @@ -36,7 +37,7 @@ describe('forEach', () => {

const out = await getStream.array(pipeline.stream)

deepStrictEqual(out, [
expect(out).to.contain.all.members([
'/root/definitions/foreach/csv-duplicate.ttl',
'/root/definitions/foreach/with-handler.ttl',
'/root/definitions/foreach/with-variable.ttl',
Expand Down

0 comments on commit 761a879

Please sign in to comment.