Skip to content

Commit 2cbfb0b

Browse files
committed
add git secrets
1 parent 6d28c08 commit 2cbfb0b

File tree

4 files changed

+8
-1
lines changed

4 files changed

+8
-1
lines changed

src/DGProjectDetector/test/ProjectDetectorInSpec.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ describe('DG.ProjectDetectorIn', function () {
3737
beforeEach(function () {
3838
map = new DG.Map(mapContainer, {
3939
center: start,
40+
key: window.__karma__.config.secretKey,
4041
'zoom': initZoom,
4142
'geoclicker': true,
4243
'zoomAnimation': false

src/DGProjectDetector/test/ProjectDetectorInitSpec.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ describe('DG.ProjectDetectorInit', function () {
3535
it('in project', function () {
3636
map = new DG.Map(mapContainer, {
3737
center: project1,
38+
key: window.__karma__.config.secretKey,
3839
'zoom': 19,
3940
'geoclicker': true,
4041
'zoomAnimation': false
@@ -45,6 +46,7 @@ describe('DG.ProjectDetectorInit', function () {
4546
it('in desert', function () {
4647
map = new DG.Map(mapContainer, {
4748
center: desert1,
49+
key: window.__karma__.config.secretKey,
4850
'zoom': 19,
4951
'geoclicker': true,
5052
'zoomAnimation': false
@@ -55,6 +57,7 @@ describe('DG.ProjectDetectorInit', function () {
5557
it('in project with max zoom', function () {
5658
map = new DG.Map(mapContainer, {
5759
center: project1,
60+
key: window.__karma__.config.secretKey,
5861
'zoom': 19,
5962
'maxZoom': 15,
6063
'geoclicker': true,
@@ -66,6 +69,7 @@ describe('DG.ProjectDetectorInit', function () {
6669
it('in desert with max zoom', function () {
6770
map = new DG.Map(mapContainer, {
6871
center: desert1,
72+
key: window.__karma__.config.secretKey,
6973
'zoom': 19,
7074
'maxZoom': 15,
7175
'geoclicker': true,

src/DGProjectDetector/test/ProjectDetectorOutOfWorldSpec.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ describe('DG.ProjectDetectorOut', function () {
2121

2222
// Где-то в лесу, там где нет проекта
2323
desert1 = new DG.LatLng(59.56, 360 + 86.32);
24-
desert2 = new DG.LatLng(65.38, 360 + 87.39);
24+
desert2 = new DG.LatLng(65.38, 360 + 87.39);
2525

2626
document.body.appendChild(mapContainer);
2727
mapContainer.style.width = 1900 + 'px';
@@ -37,6 +37,7 @@ describe('DG.ProjectDetectorOut', function () {
3737
beforeEach(function () {
3838
map = new DG.Map(mapContainer, {
3939
center: start,
40+
key: window.__karma__.config.secretKey,
4041
'zoom': initZoom,
4142
'geoclicker': true,
4243
'zoomAnimation': false

src/DGProjectDetector/test/ProjectDetectorUnderSpec.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ describe('DG.ProjectDetectorUnder', function () {
3737
beforeEach(function () {
3838
map = new DG.Map(mapContainer, {
3939
center: start,
40+
key: window.__karma__.config.secretKey,
4041
'zoom': initZoom,
4142
'geoclicker': true,
4243
'zoomAnimation': false

0 commit comments

Comments
 (0)