blob: 5e7bddb9468bfb9a6e4172b0c4fa4f4b39457db7 [file] [log] [blame]
require(['requirejs.sut'], function(sut){
describe('RequireJs basic tests', function(){
beforeEach(function(){
expect(true).toBeTruthy();
});
afterEach(function(){
expect(true).toBeTruthy();
});
it('should load sut', function(){
expect(sut.name).toBe('Subject To Test');
expect(sut.method(2)).toBe(3);
});
it('should run setup', function(){
expect(typeof setupHasRun).toBe('boolean');
});
});
});