File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
packages/sdk-multichain/src/store Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -261,7 +261,7 @@ t.describe(`Store with WebAdapter`, () => {
261261 await t . expect ( ( ) => store . getAnonId ( ) ) . rejects . toThrow ( ) ;
262262 } ) ;
263263
264- t . it ( 'Should support multiple StoreAdapterWeb instances with different prefixes ' , async ( ) => {
264+ t . it ( 'Should support multiple StoreAdapterWeb instances with different suffixes ' , async ( ) => {
265265 // Create two adapters with different store names
266266 const adapter1 = new StoreAdapterWeb ( '-1' ) ;
267267 const adapter2 = new StoreAdapterWeb ( '-2' ) ;
@@ -280,10 +280,10 @@ t.describe(`Store with WebAdapter`, () => {
280280 t . expect ( result2 ) . toBe ( 'test-id-2' ) ;
281281 } ) ;
282282
283- t . it ( 'Should support multiple concurrent instances of different store names and same dbPrefixe ' , async ( ) => {
284- const databasePrefix = '-kv-store' ;
285- const sdkAdapter = new StoreAdapterWeb ( databasePrefix ) ;
286- const mwpAdapter = new StoreAdapterWeb ( databasePrefix , 'key-value-pairs' ) ;
283+ t . it ( 'Should support multiple concurrent instances of different store names and same dbSuffix ' , async ( ) => {
284+ const databaseSuffix = '-kv-store' ;
285+ const sdkAdapter = new StoreAdapterWeb ( databaseSuffix ) ;
286+ const mwpAdapter = new StoreAdapterWeb ( databaseSuffix , 'key-value-pairs' ) ;
287287
288288 const store1 = new Store ( sdkAdapter ) ;
289289 const store2 = new Store ( mwpAdapter ) ;
You can’t perform that action at this time.
0 commit comments