File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed
packages/backend/src/nest/storage/orbitDb Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -19,6 +19,7 @@ import { spawnLibp2pInstancesInMemory } from '../../common/test-utils'
1919import { Libp2pNodeParams } from '../../libp2p/libp2p.types'
2020import { EventsType , IPFSAccessController , LogEntry } from '@orbitdb/core'
2121import { LogUpdate } from './orbitdb.types'
22+ import { EventsWithStorage } from './eventsWithStorage'
2223
2324const logger = createLogger ( 'messagesService:test' )
2425
@@ -99,6 +100,7 @@ describe('OrbitDbService', () => {
99100 it ( 'emits put event when an update to a store is made by the client user' , async ( ) => {
100101 const store = await orbitDbService . open < EventsType < { content : string } > > ( 'test-store' , {
101102 type : 'events' ,
103+ Database : EventsWithStorage ( ) ,
102104 AccessController : IPFSAccessController ( { write : [ '*' ] } ) ,
103105 sync : false ,
104106 } )
You can’t perform that action at this time.
0 commit comments