Skip to content

test(bazel): fix test for @angular/common ng_package - #23153

Closed
alan-agius4 wants to merge 2 commits into
angular:masterfrom
alan-agius4:feature/test-bazel
Closed

alan-agius4 wants to merge 2 commits into
angular:masterfrom
alan-agius4:feature/test-bazel

Conversation

@alan-agius4

Copy link
Copy Markdown
Contributor

PR Checklist

Please check if your PR fulfills the following requirements:

PR Type

What kind of change does this PR introduce?

[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[ ] Documentation content changes
[ ] angular.io application / infrastructure changes
[ ] Other... Please describe:

What is the current behavior?

Issue Number: N/A

What is the new behavior?

Does this PR introduce a breaking change?

[ ] Yes
[ ] No

Other information

shx.cd(path.join(process.env['TEST_SRCDIR'], 'angular', 'packages', 'common', 'npm_package'));

describe('@angular/common ng_package', () => {
it('should have the locales files', () => {

@alan-agius4 alan-agius4 Apr 3, 2018 •

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

This is giving false positives :(

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

you could make up for this mistake by writing a tslint or tsetse.info check so no one ever falls in this hole again. "the compiler could have caught it" is my mantra

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Thank you so much Alex, I’d give it a shoot and try to create a tsetse rule

@alexeagle alexeagle added the target: major This PR is targeted for the next major release label Apr 3, 2018
@alexeagle alexeagle added the action: merge The PR is ready for merge by the caretaker label Apr 3, 2018
@alexeagle

alexeagle commented Apr 3, 2018 via email

Copy link
Copy Markdown
Contributor

@alan-agius4

alan-agius4 commented Apr 3, 2018 •

Copy link
Copy Markdown
Contributor Author

In which npm package ban-nested-jasmine-functions is defined? As it's not even one of the custom rules under tools/tslint. When i add it in angular/angular I get the tslint info message that there is no implementation for ban-nested-jasmine-functions.

Tried to google it but didn't yield any result for this rule either, maybe you can shed some light were you found it?

@alexeagle

alexeagle commented Apr 4, 2018 via email

Copy link
Copy Markdown
Contributor

@alan-agius4
alan-agius4 deleted the feature/test-bazel branch April 4, 2018 17:11
@alan-agius4

Copy link
Copy Markdown
Contributor Author

Haha, I create a tsetse rule, if you prefer it instead of the tslint

@alexeagle

alexeagle commented Apr 4, 2018 via email

Copy link
Copy Markdown
Contributor

@alan-agius4

alan-agius4 commented Apr 5, 2018 •

Copy link
Copy Markdown
Contributor Author

I think the above comment was meant was the following PR: bazelbuild/rules_typescript#184

@alan-agius4 alan-agius4 mentioned this pull request Apr 6, 2018
1 of 3 tasks
@angular-automatic-lock-bot

Copy link
Copy Markdown

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 13, 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 cla: yes target: major This PR is targeted for the next major release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants