ng-directive-testing
ng-directive-testing copied to clipboard
Simple example of testing Angular's directives.
I've updated Karma, added the Karma Jasmine jQuery plugin (replacing the former helper.js) and removed the dependency on project-local AngularJS and jQuery libraries.
I am getting following error Starting selenium standalone server... [launcher] Running 1 instances of WebDriver Selenium standalone server started at http://10.158.61.26:65203/wd/hub [launcher] Error: SyntaxError: Unexpected token . at exports.runInThisContext (vm.js:53:16)...
I get `SyntaxError: Parse error` at my directive line where I want to use a "&" one-way binding from a parent directive's method ``` js myApp.directive('datasourceDeleteBtn', [function() { return {...
In response to this comment in line 11 of `test/testSpec.js`: ``` // we might move this tpl into an html file as well... ``` This commit moves said template to...
This might be a bug in angular itself, but you might know the problem given we used the same setup as you did for tabs directives. If we use two-way...