What is the use of test.ts file in Angular Project?
What is the use of test.ts file in Angular Project?
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Bhairab DuttPosted May 25, 2018, 1:21 PM
This file is used for the setting of a testing environment with the help of karma and jasmine.
We are using it for unit testing using test bed.
I will explain the detail about it in my later article.
Sanjit Kumar SinghPosted May 25, 2018, 2:20 PM
Bhairab DuttPosted May 25, 2018, 2:20 PM
Great work
Sanjit Kumar SinghPosted May 25, 2018, 2:19 PM
Bhairab DuttPosted May 25, 2018, 1:38 PM
You can read https://www.c-sharpcorner.com/blogs/structure-of-first-angular-4-application for main files which we are using and structure of angular application.
Hope its hep you.
Manav PandyaPosted May 25, 2018, 12:33 AM