When I try to do unit test of directive <cic-locate-me></cic-locate-me>
directive text:
`
<md-button class="md-fab md-mini md-primary" aria-label="Use Home Location"
ng-click="vm.showHomeLocation()">
I get an errorTypeError: null is not an object (evaluating 'mapController.addObject') in bower_components/ngmap/build/scripts/ng-map.js (line 438)when I call directive to testvar compilationData = suite.ElementHelpers.compileElement("", "cicLocateMe");`
Steps to reproduce and a minimal demo(Plunker Example)
What steps should we try in your demo to see the problem?
IMPORTANT:
When I try to do unit test of directive
<md-button class="md-fab md-mini md-primary" aria-label="Use Home Location"
ng-click="vm.showHomeLocation()">
<cic-locate-me></cic-locate-me>
directive text: `I get an error
TypeError: null is not an object (evaluating 'mapController.addObject') in bower_components/ngmap/build/scripts/ng-map.js (line 438)when I call directive to test
var compilationData = suite.ElementHelpers.compileElement("Steps to reproduce and a minimal demo(Plunker Example)
Current behavior
Expected/desired behavior
Other information