Skip to content

Commit 2d1c836

Browse files
committed
fix: unit test
1 parent 0224f0c commit 2d1c836

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/storageApi.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
import { StorageApi } from '../src/lib/storage'
1+
import { StorageBucketApi } from '../src/lib/storage'
22

33
// TODO: need to setup storage-api server for this test
44
const URL = 'http://0.0.0.0:5000'
55
const KEY = 'some.fake.key'
66

7-
const storage = new StorageApi(URL, { Authorization: `Bearer ${KEY}` })
7+
const storage = new StorageBucketApi(URL, { Authorization: `Bearer ${KEY}` })
88
const newBucketName = `my-new-bucket-${Date.now()}`
99
let createdBucketId = ''
1010

0 commit comments

Comments
 (0)