Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unit tests fails on "Binding to event attribute 'on-load-complete' is disallowed for security reasons" #25

Closed
daBishMan opened this issue Oct 31, 2016 · 1 comment
Assignees
Labels
Milestone

Comments

@daBishMan
Copy link

I am using Angular 2.0.0, I am trying to write a unit test, I have [on-load-complete]="onLoadComplete" in my HTML template when i try to run my test the error

Binding to event attribute 'on-load-complete' is disallowed for security reason

my test is basically trying to create the component that the viewer is impeded in.

it('should create an instance', () => { expect(profileResumeComponent).toBeTruthy(); });

Any suggestions?

@VadimDez
Copy link
Owner

VadimDez commented Nov 2, 2016

@VadimDez VadimDez added the bug label Nov 2, 2016
@VadimDez VadimDez self-assigned this Nov 2, 2016
@VadimDez VadimDez added this to the 0.1.0 milestone Nov 2, 2016
VadimDez added a commit that referenced this issue Nov 3, 2016
VadimDez added a commit that referenced this issue Nov 3, 2016
@VadimDez VadimDez closed this as completed Nov 3, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants