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: typecheck some tests in modules/bitgo/ #5187

Closed
wants to merge 4 commits into from

Conversation

OttoAllmendinger
Copy link
Contributor

  • move failing tests

  • refactor(bitgo): move broken tests to test/legacy
    For unclear reasons, the test/ folder is often excluded from tsconfig.json,
    which leads to tests that do not compile correctly.

    This commit quarantines these existing tests in modules/bitgo to
    test/legacy, allowing a fresh start in test/ with type-checked tests.

    Issue: BTC-1450

  • feat(bitgo): add README to test/legacy
    Issue: BTC-1450

  • fix(bitgo): include test files in default tsconfig.json
    We should in fact build the tests.

    They will not be packaged due to the corresponding lines in .npmignore.

    Issue: BTC-1450

  • refactor(bitgo): move utxo tests to test/utxo
    The utxo tests do in fact typecheck, so we can move them out of test/legacy/

    Issue: BTC-1450

Copy link
Contributor Author

Choose a reason for hiding this comment

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

this file was pretty pointless - I believe it provided IDE hints which were ignored

For unclear reasons, the `test/` folder is often excluded from `tsconfig.json`,
which leads to tests that do not compile correctly.

This commit quarantines these existing tests in `modules/bitgo` to
`test/legacy`, allowing a fresh start in `test/` with type-checked tests.

Issue: BTC-1450
We should in fact build the tests.

They will not be packaged due to the corresponding lines in `.npmignore`.

Issue: BTC-1450
The utxo tests do in fact typecheck, so we can move them out of `test/legacy/`

Issue: BTC-1450
@OttoAllmendinger OttoAllmendinger changed the title BTC 1450.fix bitgo tests fix: typecheck tests in modules/bitgo/ Nov 29, 2024
@OttoAllmendinger OttoAllmendinger changed the title fix: typecheck tests in modules/bitgo/ fix: typecheck some tests in modules/bitgo/ Nov 29, 2024
@OttoAllmendinger OttoAllmendinger marked this pull request as ready for review November 29, 2024 11:30
@OttoAllmendinger OttoAllmendinger marked this pull request as draft November 29, 2024 12:44
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