Skip to content

Useful-Software-Solutions-Ltd/ajs-directive-test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

##TypeScript unit tests for an AngularJS directive written in with Karma.

##getting started

The services to be tested can be found under ./app The tests are under ./tests

To run the tests karma start

test: directive with no template just link function ajsDirective1.spec.ts: directive with external template binding testing ajsDirective2.spec.ts: testing code in a link function with injected service ajsDirective3.spec.ts: testing an attribute directive that listens for a $rootScope event directive with external template binding testing ng-show dynamic template

About

TypeScript unit tests for AngularJS directives.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published