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: exclude tests with.npmignore #1637

Merged
merged 3 commits into from
Aug 24, 2024
Merged

Conversation

johnnyreilly
Copy link
Collaborator

PR Checklist

Overview

Doing this on a mobile phone on a train. It can never work, can it?

Copy link
Owner

@JoshuaKGoldberg JoshuaKGoldberg left a comment

Choose a reason for hiding this comment

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

A start! ✨

Copy link
Owner

@JoshuaKGoldberg JoshuaKGoldberg left a comment

Choose a reason for hiding this comment

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

(wrong button)

@JoshuaKGoldberg JoshuaKGoldberg added the status: waiting for author Needs an action taken by the original poster label Aug 16, 2024
@github-actions github-actions bot removed the status: waiting for author Needs an action taken by the original poster label Aug 24, 2024
@johnnyreilly
Copy link
Collaborator Author

Okay think this is good!

Copy link
Owner

@JoshuaKGoldberg JoshuaKGoldberg left a comment

Choose a reason for hiding this comment

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

Yup, this is great - thanks!

I was actually a little surprised at first it's passing build, there are no unit test changes... But all is well:

  • Unit tests: I never added snapshots for rootFiles.ts because they'd be super verbose.
  • End-to-end tests: the migration one is verifying that the .npmignore on disk matches what's created

✅ great!

@JoshuaKGoldberg JoshuaKGoldberg merged commit 2c14c2d into main Aug 24, 2024
14 checks passed
@JoshuaKGoldberg JoshuaKGoldberg deleted the 1629-test-files-not-published branch August 24, 2024 16:53
Copy link

🎉 This is included in version v1.71.4 🎉

The release is available on:

Cheers! 📦🚀

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.

🚀 Feature: Test files shouldn't be published
2 participants