First try and Jasmine test running in Resharper not working

I get the following error in the browser that launches when I click to have the Jasmine test run.
It is having a problem with the beforeEach line is all I know, but not sure why.

   encountered a declaration exception

The code I have in my test.js file is:
// The Jasmine Test Framework
/// <reference path="~/Scripts/jasmine/jasmine.js"/>
/// <reference path="~/Scripts/jasmine/jasmine-html.js"/>
// Angular requirements
/// <reference path="~/Scripts/angular.js" />
/// <reference path="~/Scripts/angular-mocks.js" />

var sampleApp = angular.module('sampleApp', []);

describe('PersonListController', function () {

    it("Blah", function () {
        var value = 3;

1 comment
Comment actions Permalink

Hi Eric,

this issue is fixed in upcoming 8.2.1 update.


Please sign in to leave a comment.