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

Remove test-helpers from build #459

Merged
merged 3 commits into from
Nov 26, 2024
Merged

Remove test-helpers from build #459

merged 3 commits into from
Nov 26, 2024

Conversation

mcmire
Copy link
Contributor

@mcmire mcmire commented Nov 8, 2024

The test helpers file is showing up in the published package when it should not be. This commit moves it to a directory that is automatically excluded by the TypeScript configuration.

Manual Testing

  • Remove dist if present
  • Run yarn build
  • There should not be any test files in dist

@mcmire mcmire requested a review from a team November 8, 2024 17:36
@mcmire mcmire force-pushed the standardize-tsconfigs branch 3 times, most recently from b48e7e5 to f25cf96 Compare November 8, 2024 17:48
Base automatically changed from standardize-tsconfigs to main November 26, 2024 17:27
The test helpers file is showing up in the published package when it
should not be. This commit moves it to a directory that is automatically
excluded by the TypeScript configuration.
@mcmire mcmire force-pushed the remove-test-files-from-build branch from 8c485a5 to 9ae2ce9 Compare November 26, 2024 17:29
@mcmire mcmire marked this pull request as ready for review November 26, 2024 17:29
@mcmire mcmire requested a review from a team as a code owner November 26, 2024 17:29
Gudahtt
Gudahtt previously approved these changes Nov 26, 2024
Copy link
Member

@Gudahtt Gudahtt left a comment

Choose a reason for hiding this comment

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

LGTM!

@Gudahtt Gudahtt dismissed their stale review November 26, 2024 17:33

Need to adjust coverage thresholds

@Gudahtt
Copy link
Member

Gudahtt commented Nov 26, 2024

We need to reduce coverage thresholds to account for removing the test helpers (they were previously considered as code under test)

Copy link
Member

@Gudahtt Gudahtt left a comment

Choose a reason for hiding this comment

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

LGTM!

@mcmire mcmire merged commit cf6c4ab into main Nov 26, 2024
16 checks passed
@mcmire mcmire deleted the remove-test-files-from-build branch November 26, 2024 17:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants