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

Add test script to web #800

Merged
merged 1 commit into from
Jul 5, 2020

Conversation

Tobbe
Copy link
Member

@Tobbe Tobbe commented Jul 5, 2020

This adds a test script to the web project, to include it in the main test run executed by GitHub's actions.

So now this is part of the action output:

@redwoodjs/web: $ jest --colors
@redwoodjs/router:  PASS  src/__tests__/util.test.js
@redwoodjs/router:  PASS  src/__tests__/links.test.js
@redwoodjs/web:  PASS  src/flash/__tests__/FlashContext.test.js
@redwoodjs/router:  PASS  src/__tests__/location.test.js
@redwoodjs/router: Test Suites: 3 passed, 3 total
@redwoodjs/router: Tests:       43 passed, 43 total
@redwoodjs/router: Snapshots:   0 total
@redwoodjs/router: Time:        4.428s
@redwoodjs/router: Ran all test suites matching /src/i.
@redwoodjs/web:  PASS  src/flash/__tests__/flash.test.js
@redwoodjs/web: Test Suites: 2 passed, 2 total
@redwoodjs/web: Tests:       7 passed, 7 total
@redwoodjs/web: Snapshots:   0 total
@redwoodjs/web: Time:        3.212s
@redwoodjs/web: Ran all test suites.

All those @redwoodjs/web lines are new

This includes it in the main `yarn test`
@RobertBroersma RobertBroersma merged commit d05d209 into redwoodjs:main Jul 5, 2020
@Tobbe Tobbe deleted the tobbe-include-web-test branch July 5, 2020 12:43
@thedavidprice thedavidprice added this to the next release milestone Jul 9, 2020
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.

None yet

3 participants