fix(core): update
This commit is contained in:
@ -30,17 +30,18 @@ tap.test('should get a bucket', async () => {
|
||||
expect(myBucket.name).to.equal('smartbucket');
|
||||
});
|
||||
|
||||
tap.test('should store data in bucket', async () => {
|
||||
await myBucket.store('hithere/socool.txt', 'hi there!');
|
||||
// Fast operations
|
||||
tap.test('should store data in bucket fast', async () => {
|
||||
await myBucket.fastStore('hithere/socool.txt', 'hi there!');
|
||||
});
|
||||
|
||||
tap.test('should get data in bucket', async () => {
|
||||
const fileString = await myBucket.get('hithere/socool.txt');
|
||||
const fileString = await myBucket.fastGet('hithere/socool.txt');
|
||||
console.log(fileString);
|
||||
});
|
||||
|
||||
tap.test('should delete data in bucket', async () => {
|
||||
await myBucket.remove('hithere/socool.txt');
|
||||
await myBucket.fastRemove('hithere/socool.txt');
|
||||
});
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user