fix(core): Fixed function call for fastPut in the test suite to ensure proper file upload handling.

This commit is contained in:
2024-11-06 03:11:51 +01:00
parent aac5a11a7a
commit f13a99447d
5 changed files with 2516 additions and 677 deletions

View File

@@ -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 () => {