Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
5
describe(
'@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
View
Function · 0.90
Tested by
no test coverage detected