Handle error: For this test, it is expected to be *not* null

pull/5/head
eliot-akira 3 years ago
parent 6884f235dd
commit 1cd3381c20
  1. 1
      test/persistence.test.js

@ -102,6 +102,7 @@ describe('Persistence', function () {
stream.push(null)
d.persistence.treatRawStream(stream, function (err, result) {
assert.isNotNull(err)
const treatedData = result.data
treatedData.sort(function (a, b) { return a._id - b._id })
treatedData.length.should.equal(2)

Loading…
Cancel
Save