mirror of https://gitee.com/bigwinds/arangodb
Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel
This commit is contained in:
commit
89245e0ce3
|
@ -155,6 +155,7 @@ module.exports = function(karma) {
|
|||
|
||||
// Views
|
||||
'frontend/js/views/navigationView.js',
|
||||
'frontend/js/views/notificationView.js',
|
||||
'frontend/js/views/apiView.js',
|
||||
'frontend/js/views/footerView.js',
|
||||
'frontend/js/views/queryView.js',
|
||||
|
@ -272,11 +273,11 @@ module.exports = function(karma) {
|
|||
|
||||
//Planner
|
||||
//Router
|
||||
'test/specs/planner/router/routerSpec.js',
|
||||
// 'test/specs/planner/router/routerSpec.js',
|
||||
//View
|
||||
'test/specs/planner/views/planSymmetricViewSpec.js',
|
||||
'test/specs/planner/views/planTestViewSpec.js',
|
||||
'test/specs/planner/views/planScenarioSelectorViewSpec.js',
|
||||
// 'test/specs/planner/views/planSymmetricViewSpec.js',
|
||||
// 'test/specs/planner/views/planTestViewSpec.js',
|
||||
// 'test/specs/planner/views/planScenarioSelectorViewSpec.js',
|
||||
'test/specJSLint/jsLintSpec.js'
|
||||
],
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*jslint indent: 2, nomen: true, maxlen: 100, white: true plusplus: true, browser: true*/
|
||||
/*global describe, beforeEach, afterEach, it, */
|
||||
/*global describe, beforeEach, afterEach, it, jasmine, */
|
||||
/*global spyOn, expect*/
|
||||
/*global _*/
|
||||
(function() {
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*jslint indent: 2, nomen: true, maxlen: 100, white: true plusplus: true, browser: true*/
|
||||
/*global describe, beforeEach, afterEach, it, */
|
||||
/*global describe, beforeEach, afterEach, it, jasmine, */
|
||||
/*global spyOn, expect*/
|
||||
/*global _*/
|
||||
(function() {
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*jslint indent: 2, nomen: true, maxlen: 100, white: true plusplus: true, browser: true*/
|
||||
/*global describe, beforeEach, afterEach, it, */
|
||||
/*global describe, beforeEach, afterEach, it, jasmine, */
|
||||
/*global spyOn, expect*/
|
||||
/*global templateEngine, $, _, uiMatchers*/
|
||||
(function() {
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*jslint indent: 2, nomen: true, maxlen: 100, white: true plusplus: true, browser: true*/
|
||||
/*global describe, beforeEach, afterEach, it, */
|
||||
/*global describe, beforeEach, afterEach, it, jasmine, */
|
||||
/*global spyOn, expect*/
|
||||
/*global _*/
|
||||
(function() {
|
||||
|
|
|
@ -7,11 +7,13 @@
|
|||
|
||||
describe("Collection View", function() {
|
||||
|
||||
var myView;
|
||||
window.App = function() {};
|
||||
window.App.navigate = function() {};
|
||||
var myView, oldRouter;
|
||||
|
||||
|
||||
beforeEach(function() {
|
||||
oldRouter = window.App;
|
||||
window.App = function() {};
|
||||
window.App.navigate = function() {};
|
||||
$('body').append('<div id="content" class="removeMe"></div>');
|
||||
|
||||
myView = new window.CollectionView({
|
||||
|
@ -22,6 +24,7 @@
|
|||
|
||||
afterEach(function() {
|
||||
$('.removeMe').remove();
|
||||
window.App = oldRouter;
|
||||
});
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue