jeudi 29 octobre 2015

jasmine unit testing for knockout application

I am not able to trigger jasmine tests using karma-jasmine. getting below error while running karma task..

29 10 2015 10:40:51.922:DEBUG [web-server]: serving (cached): C:/apps/161_new_resp_UnittestPOC/ca_module/caUI/src/target/spec/tests/jasmine-spec.js 29 10 2015 10:41:31.897:WARN [PhantomJS 1.9.8 (Windows 7 0.0.0)]: Disconnected (1 times), because no message in 40000 ms.

MY test file is simple and its below..

describe("simple Tests", function () {
    it("should make an Ajax request to the correct URL", function () {
      expect(5).toEqual(5);
    });
  });

below is my karma-config-file

files: [
        'src/target/spec/tests/jasmine-spec.js'
        ]

Aucun commentaire:

Enregistrer un commentaire