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

Basic module tests #505

Merged
merged 4 commits into from
Aug 16, 2021
Merged

Basic module tests #505

merged 4 commits into from
Aug 16, 2021

Conversation

tomrf1
Copy link
Member

@tomrf1 tomrf1 commented Aug 11, 2021

Based on this PR: #384 by @tompretty
But I started a new branch because too much has changed since the refactor.

This PR includes a very basic rendering test for the epic.
We can start adding more tests soon

package.json Outdated
@@ -18,7 +18,7 @@
"build": "yarn workspaces run build",
"presetup": "yarn clean",
"setup": "tsc --build",
"test": "export stage=DEV; yarn server test && yarn shared test",
"test": "export stage=DEV; yarn server test && yarn shared test && yarn modules test",
Copy link
Contributor

Choose a reason for hiding this comment

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

Now that we're running tests in all of the workspaces, we can do

"test": "export stage=DEV; yarn workspaces run test",

Copy link
Member Author

Choose a reason for hiding this comment

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

nice!

Comment on lines -4 to +5
{ "runtime": "automatic", "importSource": "@emotion/react" }
],
{ "runtime": "automatic", "importSource": "@emotion/react" }
],
Copy link
Contributor

Choose a reason for hiding this comment

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

looks like this is just a formatting change?

Copy link
Member Author

Choose a reason for hiding this comment

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

👍

Copy link
Contributor

@tompretty tompretty left a comment

Choose a reason for hiding this comment

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

Nice one - looks good 👍

@tomrf1 tomrf1 merged commit ce5f01f into main Aug 16, 2021
@tomrf1 tomrf1 deleted the module-tests branch August 16, 2021 11:01
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.

2 participants