Skip to content

Add decorator-related diagnostic codes to expectError#207

Merged
sindresorhus merged 2 commits intotsdjs:mainfrom
tbroyer:decorators
Jan 17, 2024
Merged

Add decorator-related diagnostic codes to expectError#207
sindresorhus merged 2 commits intotsdjs:mainfrom
tbroyer:decorators

Conversation

@tbroyer
Copy link
Copy Markdown
Contributor

@tbroyer tbroyer commented Jan 16, 2024

Because diagnostic codes are < 2000 (and therefore deemed "syntactical errors"), the ignore logic needs to be adapted.

Fixes #206

…errors

There are a few diagnostic codes that are < 2000 but
aren't really syntactical errors. They can thus be listed
in expectErrorDiagnosticCodesToIgnore to be "expected"
by expecteError.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Unable to expectError on decorator applicability

2 participants