mirror of
https://github.com/orbitdb/orbitdb.git
synced 2025-03-30 15:08:28 +00:00
Fix assert.notEqual
Fixes the following errors: ``` 2) orbit-db - Create & Open (js-ipfs) Create Success saves database manifest file locally: TypeError [ERR_MISSING_ARGS]: The "actual" and "expected" arguments must be specified at Function.notEqual (assert.js:418:11) at Context.<anonymous> (test/create-open.test.js:145:18) 3) orbit-db - Create & Open (go-ipfs) Create Success saves database manifest file locally: TypeError [ERR_MISSING_ARGS]: The "actual" and "expected" arguments must be specified at Function.notEqual (assert.js:418:11) at Context.<anonymous> (test/create-open.test.js:145:18) at runMicrotasks (<anonymous>) at processTicksAndRejections (internal/process/task_queues.js:97:5) ```
This commit is contained in:
parent
ed697fdfd6
commit
5f7f20e621
@ -142,7 +142,7 @@ Object.keys(testAPIs).forEach(API => {
|
||||
it('saves database manifest file locally', async () => {
|
||||
const manifestHash = db.id.split('/')[2]
|
||||
const manifest = await io.read(ipfs, manifestHash)
|
||||
assert.notEqual(manifest)
|
||||
assert.notEqual(manifest, false)
|
||||
assert.equal(manifest.name, 'second')
|
||||
assert.equal(manifest.type, 'feed')
|
||||
assert.notEqual(manifest.accessController, null)
|
||||
|
Loading…
x
Reference in New Issue
Block a user