mirror of
https://github.com/orbitdb/orbitdb.git
synced 2025-03-30 15:08:28 +00:00
23 lines
726 B
JavaScript
23 lines
726 B
JavaScript
import assert from 'assert'
|
|
import OrbitDB from '../src/OrbitDB.js'
|
|
|
|
const AccessControllers = OrbitDB.AccessControllers
|
|
const Identities = OrbitDB.Identities
|
|
const Keystore = OrbitDB.Keystore
|
|
|
|
describe('Re-exports', function () {
|
|
it('Successfully re-exports AccessControllers', () => {
|
|
assert.strictEqual(typeof AccessControllers, 'function')
|
|
assert.strictEqual(typeof AccessControllers.addAccessController, 'function')
|
|
})
|
|
|
|
it('Successfully re-exports Identities', () => {
|
|
assert.strictEqual(typeof Identities, 'function')
|
|
assert.strictEqual(typeof Identities.createIdentity, 'function')
|
|
})
|
|
|
|
it('Successfully re-exports Keystore', () => {
|
|
assert.strictEqual(typeof Keystore, 'function')
|
|
})
|
|
})
|