0

I am trying to test Angular using jasmine:

My Folder structure: enter image description here

My chutzpah.json file:

{
"Framework": "jasmine",
 "TestHarnessLocationMode": "Custom",
 "TestHarnessDirectory": "../AngularExample",
"TestHarnessLocationMode": "SettingsFileAdjacent",
"TestHarnessReferenceMode": "AMD",

"References": [ 
     {"Path": "../AngularExample/Controller","Include": "app.js"} ],

"Tests": [
    { "Path": "/Tests/Specs" }
 ],
"AMDBasePath": "../AngularExample/Controller"
}

I am getting below error message: enter image description here

My code files are referred from here(reffering example from https://gist.github.com/blesh/8846528

kudlatiger
  • 3,028
  • 8
  • 48
  • 98
nisha kanani
  • 273
  • 1
  • 4
  • 16

1 Answers1

0

It doesn't look like you are referencing Angular.js library itself. Please take a look at the Angular samples with Chutzpah and see if that helps.

Matthew Manela
  • 16,572
  • 3
  • 64
  • 66
  • Thanks! I dropped the idea of using chutzpah.json. I tried to use /// and it works for me. How ever I want to refer all files in one folder it fails. I have to reference each file seperately as of now. Is there a way I can refer to all files in that directory. – nisha kanani Mar 23 '16 at 17:28
  • I would need to see a full sample. But did you look at the samples part of chutzpah? Do those help? I highly recommend using chutzpah.json file. – Matthew Manela Mar 24 '16 at 03:28