You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
514 B
JavaScript
22 lines
514 B
JavaScript
define(['app'], function (App) {
|
|
describe('App', function () {
|
|
it('→ exits', function () {
|
|
expect(new App()).not.toBeUndefined();
|
|
});
|
|
|
|
describe('→ start()', function () {
|
|
it('→ can be called', function () {
|
|
expect(function noError() {
|
|
(new App()).start();
|
|
}).not.toThrow();
|
|
});
|
|
});
|
|
|
|
describe('→ has layout', function () {
|
|
it('→ exits', function () {
|
|
expect(new App().layout).not.toBeUndefined();
|
|
});
|
|
});
|
|
});
|
|
});
|