orbitdb/test/re-exports.test.js
2023-02-16 11:07:13 +02:00

23 lines
780 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')
// })
// })