Quantcast
Channel: Chutzpah - A JavaScript Test Runner
Viewing all articles
Browse latest Browse all 1864

Commented Unassigned: Strange Js test error on build server [230]

$
0
0
When i run my js tests on the TFS build server. They all pass ok but i get the errors below every time, even if i remove all my js tests. Any help would be much appreciated.

Error: TypeError: 'undefined' is not an object (evaluating 'angular.mock = {}')
in file:///D:/Builds/4/Web/_PublishedWebsites/Web/bin/angular-mocks.js (line 17)
in file:///D:/Builds/4/Web/_PublishedWebsites/Web/bin/angular-mocks.js (line 2136)
While Running:D:\Builds\4\WebTech\CRpt\Binaries\Debug\Web\_PublishedWebsites\Web\bin\angular-mocks.js

Error: TypeError: 'undefined' is not an object (evaluating 'angular.mock = {}')
in file:///D:/Builds/4/Web/_PublishedWebsites/Web/Scripts/angular-mocks.js (line 17)
in file:///D:/Builds/4/Web/_PublishedWebsites/Web/Scripts/angular-mocks.js (line 2136)
While Running:D:\Builds\4\WebTech\CRpt\Binaries\Debug\Web\_PublishedWebsites\Web\Scripts\angular-mocks.js

Error: TypeError: 'undefined' is not an object (evaluating 'angular.mock = {}')
in file:///D:/Builds/4/Web/Scripts/angular-mocks.js (line 17)
in file:///D:/Builds/4/Web/Scripts/angular-mocks.js (line 2136)
While Running:D:\Builds\4\WebTech\CRpt\Binaries\Debug\Web\Scripts\angular-mocks.js

Error: TypeError: 'undefined' is not an object (evaluating 'angular.mock = {}')
in file:///D:/Builds/4/Web.Tests/Scripts/angular-mocks.js (line 17)
in file:///D:/Builds/4/Web.Tests/Scripts/angular-mocks.js (line 2136)
While Running:D:\Builds\4\WebTech\CRpt\Binaries\Debug\Web.Tests\Scripts\angular-mocks.js


Error: TypeError: 'undefined' is not a constructor (evaluating 'new jasmine.HtmlReporter()')
in file:///D:/Builds/4/Web.Tests/Scripts/_Chutzpah.e898bcd2ed62ba32b4728f26d567c21c.test.html (line 23)
in file:///D:/Builds/4/Web.Tests/Scripts/_Chutzpah.e898bcd2ed62ba32b4728f26d567c21c.test.html (line 70)
While Running:D:\Builds\4\WebTech\CRpt\Binaries\Debug\Web.Tests\Scripts\jasmine.js

Error: Timeout occured when executing test file
While Running:D:\Builds\4\WebTech\CRpt\Binaries\Debug\Web.Tests\Scripts\jasmine.js

An error occurred when opening a file "D:\Builds\4\WebTech\CRpt\Binaries\Debug\Web.Tests\phantomjs.exe": Assembly "phantomjs.exe" is not a valid .NET assembly and will be skipped for analysis.
Comments: So it looks like httpBackend is not defined. Are you not including the file that defines that or is it to lower in the references order?

Viewing all articles
Browse latest Browse all 1864

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>