Skip to content
This repository was archived by the owner on Sep 8, 2020. It is now read-only.

Commit 1532421

Browse files
committed
test: disable debugInfo on all tests
1 parent 7d8b77e commit 1532421

7 files changed

+42
-0
lines changed

test/sortable.e2e.callbacks.spec.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@
22

33
describe('uiSortable', function() {
44

5+
beforeEach(module(function($compileProvider) {
6+
if (typeof $compileProvider.debugInfoEnabled === 'function') {
7+
$compileProvider.debugInfoEnabled(false);
8+
}
9+
}));
10+
511
// Ensure the sortable angular module is loaded
612
beforeEach(module('ui.sortable'));
713
beforeEach(module('ui.sortable.testHelper'));

test/sortable.e2e.directiveoptions.spec.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@
22

33
describe('uiSortable', function() {
44

5+
beforeEach(module(function($compileProvider) {
6+
if (typeof $compileProvider.debugInfoEnabled === 'function') {
7+
$compileProvider.debugInfoEnabled(false);
8+
}
9+
}));
10+
511
// Ensure the sortable angular module is loaded
612
beforeEach(module('ui.sortable'));
713
beforeEach(module('ui.sortable.testHelper'));

test/sortable.e2e.directives.spec.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@
22

33
describe('uiSortable', function() {
44

5+
beforeEach(module(function($compileProvider) {
6+
if (typeof $compileProvider.debugInfoEnabled === 'function') {
7+
$compileProvider.debugInfoEnabled(false);
8+
}
9+
}));
10+
511
// Ensure the sortable angular module is loaded
612
beforeEach(module('ui.sortable'));
713
beforeEach(module('ui.sortable.testHelper'));

test/sortable.e2e.multi.spec.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@
22

33
describe('uiSortable', function() {
44

5+
beforeEach(module(function($compileProvider) {
6+
if (typeof $compileProvider.debugInfoEnabled === 'function') {
7+
$compileProvider.debugInfoEnabled(false);
8+
}
9+
}));
10+
511
// Ensure the sortable angular module is loaded
612
beforeEach(module('ui.sortable'));
713
beforeEach(module('ui.sortable.testHelper'));

test/sortable.e2e.nested.spec.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@
22

33
describe('uiSortable', function() {
44

5+
beforeEach(module(function($compileProvider) {
6+
if (typeof $compileProvider.debugInfoEnabled === 'function') {
7+
$compileProvider.debugInfoEnabled(false);
8+
}
9+
}));
10+
511
// Ensure the sortable angular module is loaded
612
beforeEach(module('ui.sortable'));
713
beforeEach(module('ui.sortable.testHelper'));

test/sortable.e2e.spec.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@
22

33
describe('uiSortable', function() {
44

5+
beforeEach(module(function($compileProvider) {
6+
if (typeof $compileProvider.debugInfoEnabled === 'function') {
7+
$compileProvider.debugInfoEnabled(false);
8+
}
9+
}));
10+
511
// Ensure the sortable angular module is loaded
612
beforeEach(module('ui.sortable'));
713
beforeEach(module('ui.sortable.testHelper'));

test/sortable.spec.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@
22

33
describe('uiSortable', function() {
44

5+
beforeEach(module(function($compileProvider) {
6+
if (typeof $compileProvider.debugInfoEnabled === 'function') {
7+
$compileProvider.debugInfoEnabled(false);
8+
}
9+
}));
10+
511
// Ensure the sortable angular module is loaded
612
beforeEach(module('ui.sortable'));
713
beforeEach(module('ui.sortable.testHelper'));

0 commit comments

Comments
 (0)