Skip to content

Commit cd19848

Browse files
committed
tests: fix expected error field
1 parent f2fbf90 commit cd19848

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/index.spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ describe('Saturn client', () => {
7676
await assert.rejects(client.fetchContentBuffer(TEST_CID, { connectTimeout: 1 }))
7777

7878
const log = client.logs.pop()
79-
assert.strictEqual(log.ifNetworkError, 'This operation was aborted')
79+
assert.strictEqual(log.error, 'This operation was aborted')
8080
})
8181
})
8282
})

0 commit comments

Comments
 (0)