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

Template: Removed the module.test.ts file from being scafollded by create-plugin #225

Merged
merged 1 commit into from
Mar 17, 2023

Conversation

mckn
Copy link
Collaborator

@mckn mckn commented Mar 16, 2023

What this PR does / why we need it:
After some discussions internally we figured out that it doesn't make sense to add tests for the module.test.ts file since all it should do is to bootstrap the plugin. It makes more sense to add e2e tests to verify that the plugin actually is loading and functioning and write unit tests for smaller more complex parts of the plugin.

Which issue(s) this PR fixes:

Fixes #

Special notes for your reviewer:

@mckn mckn self-assigned this Mar 16, 2023
@mckn mckn added create-plugin related to the create-plugin tool chore Other changes that don't modify src or test files minor Increment the minor version when merged labels Mar 16, 2023
@mckn mckn marked this pull request as ready for review March 16, 2023 21:16
@jackw jackw added the release Create a release when this pr is merged label Mar 17, 2023
Copy link
Collaborator

@leventebalogh leventebalogh left a comment

Choose a reason for hiding this comment

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

🚢🇮🇹

@mckn mckn merged commit 3e43372 into main Mar 17, 2023
@mckn mckn deleted the mckn/remove-module-test-file branch March 17, 2023 10:51
@grafanabot
Copy link
Contributor

🚀 PR was released in @grafana/create-plugin@1.2.0 🚀

@grafanabot grafanabot added the released This issue/pull request has been released. label Mar 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chore Other changes that don't modify src or test files create-plugin related to the create-plugin tool minor Increment the minor version when merged release Create a release when this pr is merged released This issue/pull request has been released.
Projects
Development

Successfully merging this pull request may close these issues.

None yet

4 participants