made pass jshint and strict
This commit is contained in:
parent
f37d735890
commit
583b7d8cc3
9 changed files with 16 additions and 63 deletions
|
|
@ -1,6 +1,7 @@
|
|||
'use strict';
|
||||
|
||||
define(['es5-ff-spa-loader'], function(FFSpaLoader) {
|
||||
'use strict';
|
||||
|
||||
describe('Start loader', function() {
|
||||
it('FFSpaLoader start with error', function(done) {
|
||||
FFSpaLoader.options.server.url = 'http://localhost:9999';
|
||||
|
|
|
|||
|
|
@ -1,6 +1,7 @@
|
|||
'use strict';
|
||||
|
||||
define(['es5-ff-spa-loader'], function(FFSpaLoader) {
|
||||
'use strict';
|
||||
|
||||
describe('Check module exports', function() {
|
||||
describe('Check undefined', function() {
|
||||
it('FFSpaLoader.options should be defined', function() {
|
||||
|
|
@ -34,4 +35,3 @@ define(['es5-ff-spa-loader'], function(FFSpaLoader) {
|
|||
});
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,7 @@
|
|||
'use strict';
|
||||
|
||||
define(['es5-ff-spa-loader'], function(FFSpaLoader) {
|
||||
'use strict';
|
||||
|
||||
describe('Check factory detect', function() {
|
||||
it('FFSpaLoader.factory.detect.localStorage', function() {
|
||||
expect(FFSpaLoader.factory.detect.localStorage()).toEqual(true);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue