tron
Version:
A JavaScript Cron expression builder and parser for both Node.js and browser
14 lines (11 loc) • 432 B
JavaScript
describe('Tron', function () {
var Tron = require('../lib/Tron');
var anyFunction = jasmine.any(Function);
var anyString = jasmine.any(String);
it('should contain all API methods and attributes', function () {
expect(Tron).toBeDefined();
expect(Tron.Expression).toEqual(anyFunction);
expect(Tron.Scheduler).toEqual(anyFunction);
expect(Tron.version).toEqual(anyString);
});
});