From ad98ea459a6c976bdc462cb02f264d24ae7e7557 Mon Sep 17 00:00:00 2001 From: Kalle O Ilves Date: Fri, 24 Apr 2015 08:40:55 +0300 Subject: [PATCH] =?UTF-8?q?package.json=20p=C3=A4ivitys?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 10 +++++++--- test/add_movie_test.js | 2 +- test/edit_movie_test.js | 2 +- test/movie_list_test.js | 2 +- test/show_movie_test.js | 2 +- 5 files changed, 11 insertions(+), 7 deletions(-) diff --git a/package.json b/package.json index d55a9369..89798063 100644 --- a/package.json +++ b/package.json @@ -1,14 +1,18 @@ { "name": "Elokuvakirjasto", - "version": "0.0.0" + "version": "0.0.0", "author": "", "license": "ISC", "devDependencies": { - "karma": "~0.10", + "karma": "~0.12", "protractor": "^1.1.1", "http-server": "^0.6.1", "bower": "^1.3.1", "shelljs": "^0.2.6", - "karma-junit-reporter": "^0.2.2" + "karma-junit-reporter": "^0.2.2", + "karma-jasmine": "~0.2" + }, + "dependencies": { + "karma-chrome-launcher": "^0.1.8" } } diff --git a/test/add_movie_test.js b/test/add_movie_test.js index 33e6b5cf..c8d889a0 100644 --- a/test/add_movie_test.js +++ b/test/add_movie_test.js @@ -24,7 +24,7 @@ describe('Add movie', function(){ }); // Lisää vakoilijat - // spyOn(FirebaseServiceMock, 'jokuFunktio'); + // spyOn(FirebaseServiceMock, 'jokuFunktio').and.callThrough(); }); /* diff --git a/test/edit_movie_test.js b/test/edit_movie_test.js index c013d7e2..36d7386e 100644 --- a/test/edit_movie_test.js +++ b/test/edit_movie_test.js @@ -31,7 +31,7 @@ describe('Edit movie', function(){ }); // Lisää vakoilijat - // spyOn(FirebaseServiceMock, 'jokuFunktio'); + // spyOn(FirebaseServiceMock, 'jokuFunktio').and.callThrough(); }); /* diff --git a/test/movie_list_test.js b/test/movie_list_test.js index 9e76a41f..5e330e4c 100644 --- a/test/movie_list_test.js +++ b/test/movie_list_test.js @@ -24,7 +24,7 @@ describe('Movie list', function(){ }); // Lisää vakoilijat - // spyOn(FirebaseServiceMock, 'jokuFunktio'); + // spyOn(FirebaseServiceMock, 'jokuFunktio').and.callThrough(); }); /* diff --git a/test/show_movie_test.js b/test/show_movie_test.js index e27f7df5..40e1325e 100644 --- a/test/show_movie_test.js +++ b/test/show_movie_test.js @@ -31,7 +31,7 @@ describe('Show movie', function(){ }); // Lisää vakoilijat - // spyOn(FirebaseServiceMock, 'jokuFunktio'); + // spyOn(FirebaseServiceMock, 'jokuFunktio').and.callThrough(); }); /*