UNPKG

chrome-stub

Version:

Easily stub out chrome API calls for great test coverage

14 lines (10 loc) 261 B
var Chrome = hmt.lib('Chrome'); describe('Chrome', function () { var chrome; before(function () { chrome = new Chrome(); }); it('should contain a runtime API object', function () { hmt.assert.equal(typeof chrome.runtime, 'object'); }); });