Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
it('exports a UA constructor', () => {
assert.isFunction(UA);
assert.isFunction(UA.prototype.getFamily);
assert.isFunction(UA.prototype.getVersion);
assert.isFunction(UA.prototype.satisfies);
assert.isFunction(UA.prototype.getBaseline);
assert.isFunction(UA.prototype.meetsBaseline);
assert.isFunction(UA.prototype.isUnknown);
assert.isFunction(UA.normalize);
assert.isFunction(UA.getBaselines);
});
it('exports a UA constructor', () => {
assert.isFunction(UA);
assert.isFunction(UA.prototype.getFamily);
assert.isFunction(UA.prototype.getVersion);
assert.isFunction(UA.prototype.satisfies);
assert.isFunction(UA.prototype.getBaseline);
assert.isFunction(UA.prototype.meetsBaseline);
assert.isFunction(UA.prototype.isUnknown);
assert.isFunction(UA.normalize);
assert.isFunction(UA.getBaselines);
});
it('should be a function', function () {
assert.isFunction(createResult);
});
it('should be a function', function() {
assert.isFunction(buildAction);
});
it('should be a function', function () {
assert.isFunction(createSpec);
});