In our app we have several layers of nested directives. I\'m trying to write some unit tests for the top level directives. I\'ve mocked in stuff that the directive itself ne
You can modify your templates inside $templateCache to remove any lower level directives:
$templateCache
beforeEach(angular.mock.inject(function ($templateCache) { $templateCache.put('path/to/template.html', ''); }));