mirror of
https://github.com/orbitdb/orbitdb.git
synced 2025-03-30 15:08:28 +00:00
17 lines
541 B
JavaScript
17 lines
541 B
JavaScript
'use strict'
|
|
|
|
const assert = require('assert')
|
|
const { AccessControllers, Identities } = require('../src/OrbitDB')
|
|
|
|
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')
|
|
})
|
|
})
|