Skip to content

refactor: convert errors to typescript - #12471

Merged
sushantdhiman merged 1 commit into
masterfrom
errors-conversion
Jul 7, 2020
Merged

sushantdhiman merged 1 commit into
masterfrom
errors-conversion

Conversation

@sushantdhiman

Copy link
Copy Markdown
Contributor

Pull Request check-list

Please make sure to review and check all of these items:

  • Does npm run test or npm run test-DIALECT pass with this change (including linting)?
  • Does the description below contain a link to an existing issue (Closes #[issue]) or a description of the issue you are solving?
  • Have you added new tests to prevent regressions?
  • Is a documentation update included (if this change modifies existing APIs, or introduces new ones)?
  • Did you update the typescript typings accordingly (if applicable)?
  • Did you follow the commit message conventions explained in CONTRIBUTING.md?

Description of change

Converted errors to typescript, fixed related tests

@codecov

codecov Bot commented Jul 7, 2020 •

Copy link
Copy Markdown

Codecov Report

Merging #12471 into master will decrease coverage by 0.09%.
The diff coverage is 99.28%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master   #12471      +/-   ##
==========================================
- Coverage   96.47%   96.37%   -0.10%     
==========================================
  Files          95       95              
  Lines        9220     9254      +34     
  Branches       17       61      +44     
==========================================
+ Hits         8895     8919      +24     
  Misses        322      322              
- Partials        3       13      +10     
Impacted Files Coverage Δ
src/model-manager.js 100.00% <ø> (ø)
src/errors/validation-error.ts 96.22% <95.00%> (ø)
src/dialects/mssql/async-queue.ts 100.00% <100.00%> (ø)
src/errors/aggregate-error.ts 90.00% <100.00%> (ø)
src/errors/association-error.ts 100.00% <100.00%> (ø)
src/errors/base-error.ts 100.00% <100.00%> (ø)
src/errors/bulk-record-error.ts 100.00% <100.00%> (ø)
src/errors/connection-error.ts 100.00% <100.00%> (ø)
src/errors/connection/access-denied-error.ts 100.00% <100.00%> (ø)
...ors/connection/connection-acquire-timeout-error.ts 100.00% <100.00%> (ø)
... and 26 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 72bc739...0744580. Read the comment docs.

@sushantdhiman
sushantdhiman merged commit e053514 into master Jul 7, 2020
@sushantdhiman
sushantdhiman deleted the errors-conversion branch July 7, 2020 09:41
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.

1 participant