How to use the proclaim.isFunction function in proclaim

To help you get started, we’ve selected a few proclaim examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github Financial-Times / polyfill-library / test / unit / lib / UA.js View on Github external
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);
	});
github Financial-Times / polyfill-service / test / unit / lib / UA.js View on Github external
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);
	});
github rowanmanning / joblint / test / unit / result.js View on Github external
it('should be a function', function () {
        assert.isFunction(createResult);
    });
github pa11y / pa11y / test / unit / lib / action.js View on Github external
it('should be a function', function() {
		assert.isFunction(buildAction);
	});
github rowanmanning / joblint / test / unit / spec.js View on Github external
it('should be a function', function () {
        assert.isFunction(createSpec);
    });

proclaim

A simple assertion library for server and client side JavaScript

MIT
Latest version published 6 years ago

Package Health Score

48 / 100
Full package analysis