UNPKG

swift-ceph

Version:

CEPH Object Storage(Swift) REST client API for Node.JS

15 lines (13 loc) 397 B
var Swift = require('../index.js'); var config = require('../config.js'); var client = new Swift(config); describe("Container tests", function () { it("it should return something..", function (done) { client.listContainers(function (err, resp){ console.log(resp); expect(resp.headers).toBeDefined(); expect(err).toEqual(null); done(); }) }); });