Skip to content

dilagurung/karma-jasmine-eg

Repository files navigation

karrma-test"# karma-jasmin-eg"

#comphrehensive tutorial or guide will be provided shortly ...

to run this project

enter following command npm test //build project and run the test for all the ts file suffixed with spec. kjhtml reporter has been used to see how manu //ts has passed specifications or test

npm run testc // generate covergefinal.json file required by "posttest" npm run posttest // generate coverage in the form of html of all the ts files npm run coverage // generate required file to display the coverage

//exceptions error :: "zoneAwareStack": "Error: XHR error (404 Not Found) loading http://127.0.0.1:9876dist/app/component/my-list.js" solution :: delete the dist folder and run project again