Skip to content
This repository has been archived by the owner on Oct 9, 2020. It is now read-only.

Commit

Permalink
fix js tests on console runner
Browse files Browse the repository at this point in the history
  • Loading branch information
aguacongas committed Jan 2, 2016
1 parent 66c0b2b commit f946457
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion _goals.shade
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ default NUGET_FEED = 'https://api.nuget.org/v3/index.json'
var bowerDirs = '${GetDirectoriesContaining(Directory.GetCurrentDirectory(), "bower.json")}'
bower each='var bowerDir in bowerDirs' bowerCommand='install ${E("KOREBUILD_BOWER_INSTALL_OPTIONS")}'

#run-gulp .restore-npm-modules .repo-initialize .restore-bower-components target='initialize'
#run-gulp .repo-initialize .restore-npm-modules .restore-bower-components target='initialize'
-// Find all dirs that contain a gulpfile.js file
var gulpDirs = '${GetDirectoriesContaining(Directory.GetCurrentDirectory(), "gulpfile.js")}'
gulp each='var gulpDir in gulpDirs'
Expand Down
7 changes: 4 additions & 3 deletions test/chatle.test/wwwroot/js/chat.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -118,9 +118,6 @@

describe("on started", function () {

chatLe.userAPI = "/userAPI";
chatLe.chatAPI = "/chatAPI";

var users = {
Users: [
"test"
Expand All @@ -134,6 +131,10 @@
}];

beforeEach(function () {

chatLe.userAPI = "/userAPI";
chatLe.chatAPI = "/chatAPI";

jasmine.Ajax.install();

spyOn(currenVM, 'users').and.callThrough();
Expand Down

0 comments on commit f946457

Please sign in to comment.