namecheap-api
Version:
Node.JS library for the Namecheap API
28 lines (19 loc) • 645 B
JavaScript
describe("Front Interface", function () {
var expect,
apiCall,
config,
namecheapApi;
before(function () {
expect = require('chai').expect;
var requireUncached = require('require-uncached');
apiCall = require('../namecheap/apiCall');
config = require('../namecheap/config');
namecheapApi = require('../namecheap-api');
});
it("gives access to apiCall module", function () {
expect(namecheapApi.apiCall).to.equal(apiCall);
});
it("gives access to config module", function () {
expect(namecheapApi.config).to.equal(config);
});
});