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.
21 lines
495 B
21 lines
495 B
define(['app', 'jquery', 'underscore'], function(App, $, _) {
|
|
|
|
describe('just checking', function() {
|
|
|
|
it('works for app', function() {
|
|
var el = $('<div></div>');
|
|
|
|
var app = new App(el);
|
|
app.render();
|
|
|
|
expect(el.text()).toEqual('require.js up and running');
|
|
});
|
|
|
|
it('works for underscore', function() {
|
|
// just checking that _ works
|
|
expect(_.size([1,2,3])).toEqual(3);
|
|
});
|
|
|
|
});
|
|
|
|
});
|