Answers for "angular run a test file"

1

execute only one test spec with angular-cli (ng test)

// ng test --main directory/filename.spec.ts
ng test --main src/app/services/dealer.service.spec.ts
Posted by: Guest on April-23-2021
0

auto create a test file in angular

$ npm install ngentest -g # to run this command anywhere$ ngentest my.component.ts
Posted by: Guest on November-23-2020

Code answers related to "TypeScript"

Browse Popular Code Answers by Language