Build mobile apps with simple HTML, CSS, and JS components. http://goratchet.com/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
653 B

describe('Common', function () {
it('RATCHET namespace is defined', function () {
expect(typeof RATCHET !== 'undefined').toBe(true);
});
it('window.CustomEvent exists', function () {
expect(typeof window.CustomEvent !== 'undefined').toBe(true);
});
it('RATCHET.getBrowserCapabilities returns an object', function () {
var result = RATCHET.getBrowserCapabilities;
expect(typeof result === 'object').toBe(true);
});
it('RATCHET.getTransitionEnd returns string', function () {
var result = RATCHET.getTransitionEnd;
expect(typeof result === 'string').toBe(true);
expect(result.length > 0).toBe(true);
});
});