Skip to content

unittests/moduleResolution: actually assert in checkResolvedModule#26308

Merged
RyanCavanaugh merged 1 commit into
microsoft:masterfrom
ajafff:checkresolvedmodule
Sep 6, 2018
Merged

unittests/moduleResolution: actually assert in checkResolvedModule#26308
RyanCavanaugh merged 1 commit into
microsoft:masterfrom
ajafff:checkresolvedmodule

Conversation

@ajafff
Copy link
Copy Markdown
Contributor

@ajafff ajafff commented Aug 8, 2018

this change uncovered a bug in testPreserveSymlinks which always silently failed

this change uncovered a bug in testPreserveSymlinks which always silently failed
return true;
}
return false;
function checkResolvedTypeDirective(actual: ResolvedTypeReferenceDirective, expected: ResolvedTypeReferenceDirective) {
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 change is unrelated. The function is used in the same way as checkResolvedModule but is never called with undefined arguments. So this is just a drive-by simplification.

@RyanCavanaugh RyanCavanaugh merged commit 270ea77 into microsoft:master Sep 6, 2018
@microsoft microsoft locked as resolved and limited conversation to collaborators Oct 21, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants