Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
var _ = require('lodash'),
__j = require('jasmine'),
CR = require('ConsoleReporter'),
describe = __j.describe,
it = __j.it,
expect = __j.expect,
jasmine = __j.jasmine,
beforeEach = __j.beforeEach;
// These are in alphabetical order. It's not an accident. Keep it that way.
var apiChecks = {
'Ti.UI.Button': function(o) {
expect(o).toHaveFunction('setTitle');
},
'Ti.UI.ImageView': function(o) {
expect(o).toHaveFunction('pause');
},
'Ti.UI.iOS.CoverFlowView': function(o) {
expect(o).toHaveFunction('getImages');
},
'Ti.UI.iPhone.NavigationGroup': function(o) {
apiChecks['Ti.UI.Window'](o.window);
},
'Ti.UI.Label': function(o) {
var _ = require('alloy/underscore')._,
__j = require('jasmine'),
CR = require('ConsoleReporter'),
describe = __j.describe,
it = __j.it,
expect = __j.expect,
jasmine = __j.jasmine,
beforeEach = __j.beforeEach;
// These are in alphabetical order. It's not an accident. Keep it that way.
var apiChecks = {
'Ti.UI.Button': function(o) {
expect(o).toHaveFunction('setTitle');
},
'Ti.UI.ImageView': function(o) {
expect(o).toHaveFunction('pause');
},
'Ti.UI.iOS.CoverFlowView': function(o) {
expect(o).toHaveFunction('getImages');
},
'Ti.UI.iPhone.NavigationGroup': function(o) {
apiChecks['Ti.UI.Window'](o.window);
},
'Ti.UI.Label': function(o) {