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

fix(testing): remove test zone for now and rely on returned promises #6601

Closed
wants to merge 1 commit into from

Conversation

juliemr
Copy link
Member

@juliemr juliemr commented Jan 21, 2016

Adds tests for public Dart and TS frameworks to make sure that
components with templateUrl can be created by the TestComponentBuilder.

Closes #6359

Adds tests for public Dart and TS frameworks to make sure that
components with templateUrl can be created by the TestComponentBuilder.

Closes angular#6359
@juliemr juliemr added area: testing Issues related to Angular testing features, such as TestBed hotlist: example tests labels Jan 21, 2016
@juliemr juliemr added the action: review The PR is still awaiting reviews from at least one requested reviewer label Jan 21, 2016
@@ -206,6 +152,7 @@ function _it(jsmFn: Function, name: string, testFn: FunctionWithParamTokens | An
done.fail('Error: inject returned a value. Did you mean to use injectAsync? Returned ' +
'value was: ' + returnedTestValue);
}
done();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this seems wrong, why should we be done() here? The promise may not have resolved yet.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

never mind, not used to the github collapsed lines view...

@alexeagle alexeagle added pr_state: LGTM and removed action: review The PR is still awaiting reviews from at least one requested reviewer labels Jan 21, 2016
@alexeagle alexeagle removed their assignment Jan 21, 2016
@juliemr juliemr added the action: merge The PR is ready for merge by the caretaker label Jan 21, 2016
@juliemr
Copy link
Member Author

juliemr commented Jan 21, 2016

Thanks!

@mary-poppins
Copy link

Merging PR #6601 on behalf of @rkirov to branch presubmit-rkirov-pr-6601.

@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Sep 7, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
action: merge The PR is ready for merge by the caretaker area: testing Issues related to Angular testing features, such as TestBed cla: yes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Components with templateUrl can mess up injectAsync automatic async tracking
5 participants