How can I load external JSON files into my test in Angular 2?
I'm writing some tests for an Angular 2 app that needs to mock a big JSON structure. I want to put that that JSON in its own file so that I can import it on other tests as well. In using Jasmine with Karma.
Aucun commentaire:
Enregistrer un commentaire