fix(core): Fixed function call for fastPut in the test suite to ensure proper file upload handling.
This commit is contained in:
@@ -20,7 +20,10 @@ tap.test('should be able to access buckets', async () => {
|
||||
);
|
||||
const bucket = await smartbucketInstance.createBucket('testbucket');
|
||||
const baseDirectory = await bucket.getBaseDirectory();
|
||||
await baseDirectory.fastStore('subdir/hello.txt', 'hi there!');
|
||||
await baseDirectory.fastPut({
|
||||
path: 'subdir/hello.txt',
|
||||
contents: 'hi there!'
|
||||
});
|
||||
});
|
||||
|
||||
tap.test('should stop the instance', async () => {
|
||||
|
Reference in New Issue
Block a user