MCPcopy Create free account
hub / github.com/MikeRyanDev/angular-decorators / MyClass

Class MyClass

src/decorators/component/view.spec.js:7–8  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5describe('@View Decorator', function(){
6 it('should add a template option to a component', function(){
7 @View({ template: 'test' })
8 class MyClass{ }
9
10 componentWriter.get('template', MyClass).should.eql('test');
11 });

Callers

nothing calls this directly

Calls 1

ViewFunction · 0.90

Tested by

no test coverage detected