Skip to content
This repository has been archived by the owner on Mar 23, 2023. It is now read-only.

Commit

Permalink
chore: fix types
Browse files Browse the repository at this point in the history
  • Loading branch information
achingbrain committed Jul 6, 2021
1 parent 79b185f commit acfe02c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions test/index.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -173,8 +173,7 @@ describe('FsDatastore', () => {

tests({
setup: () => {
const shard = new sh.NextToLast(2)
return ShardingStore.createOrOpen(new FsStore(dir), shard)
return new ShardingStore(new FsStore(dir), new sh.NextToLast(2))
},
teardown: () => {
return rimraf(dir)
Expand Down

0 comments on commit acfe02c

Please sign in to comment.