node_storage_manager
Version:
Node - Storage Pipe Manager allows world-wide storage and retrieval of any amount of data at any time. You can use Google Cloud Storage, AWS S3 Bucket for a range of scenarios including serving website content, storing data for archival and disaster recov
15 lines (11 loc) • 418 B
JavaScript
const assert = require('assert');
const { expect }= require('chai');
const storageSystem = require('../index');
describe('Simple Storage Test', () => {
//First stage Unit Test
it('should run', () => {
let StorageInstance = storageSystem.getInstance('CLOUDINARY');
const data = StorageInstance.upload('media', '/Users/nitrocode/tmp/up.png', 'video');
console.log(data);
});
});