Sha256: 0f458722c4f7b0c8772a9382e64e47946b4d82e9dbab9555d6f289866096dfb1

Contents?: true

Size: 893 Bytes

Versions: 7

Compression:

Stored size: 893 Bytes

Contents

var lookup = require('../../lib/lookup');
var expect = require('expect.js');

describe('lookup module', function () {
    describe('requiring the lookup module', function () {
        it('should expose a lookup method', function () {
            expect(typeof lookup === 'function').to.be.ok;
        });

        it('should expose a initCache method', function () {
            expect(lookup.initCache).to.be.ok;
            expect(typeof lookup.initCache === 'function').to.be.ok;
        });

        it('should expose a clearCache method', function () {
            expect(lookup.clearCache).to.be.ok;
            expect(typeof lookup.clearCache === 'function').to.be.ok;
        });

        it('should expose a resetCache method', function () {
            expect(lookup.resetCache).to.be.ok;
            expect(typeof lookup.resetCache === 'function').to.be.ok;
        });
    });
});

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
entangled-0.0.16 spec/dummy/public/node_modules/bower/node_modules/bower-registry-client/test/core/lookup.js
entangled-0.0.15 spec/dummy/public/node_modules/bower/node_modules/bower-registry-client/test/core/lookup.js
entangled-0.0.14 spec/dummy/public/node_modules/bower/node_modules/bower-registry-client/test/core/lookup.js
entangled-0.0.13 spec/dummy/public/node_modules/bower/node_modules/bower-registry-client/test/core/lookup.js
entangled-0.0.12 spec/dummy/public/node_modules/bower/node_modules/bower-registry-client/test/core/lookup.js
entangled-0.0.11 spec/dummy/public/node_modules/bower/node_modules/bower-registry-client/test/core/lookup.js
entangled-0.0.10 spec/dummy/public/node_modules/bower/node_modules/bower-registry-client/test/core/lookup.js