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

feat: add some basic tests with actions and pre-commit updates. #15

Merged
merged 4 commits into from
Nov 1, 2024

Conversation

ZL-Asica
Copy link
Member

  1. Added some basic tests:
  • When the user is not logged in:
    • Home screen should be protected by ProtectedRoute.
    • Footer should still work to route cross pages.
  • When user loged in:
    • Home screen should be able to show the 'New Goal' on top of the screen.
  1. Update the ci workflow accordingly:
  • Now all new commits will need to pass the test first.
  • All Firebase deployments and previews need to pass the test in order to run.

Copy link

🚀 Preview for this PR is available at: https://stepwise-bdab7--pr-15-p3rex41h.web.app

@ZL-Asica ZL-Asica enabled auto-merge (squash) October 31, 2024 04:14
Copy link

🚀 Preview for this PR is available at: https://stepwise-bdab7--pr-15-p3rex41h.web.app

🧪 Test Results

🗂 Test Summary: Test Files 2 passed (2)
Tests Passed: Tests 4 passed (4)
⏱️ Total Duration: Duration 16.44s (transform 7.34s, setup 0ms, collect 31.24s, tests 306ms, environment 718ms, prepare 167ms)

🎉 All tests passed successfully!

Copy link

🚀 Preview for this PR is available at: https://stepwise-bdab7--pr-15-p3rex41h.web.app

🧪 Test Results

🗂 Test Summary: Test Files 2 passed (2)
Tests Passed: Tests 4 passed (4)
⏱️ Total Duration: Duration 16.30s (transform 7.23s, setup 0ms, collect 31.01s, tests 296ms, environment 723ms, prepare 159ms)

🎉 All tests passed successfully!

@ZL-Asica ZL-Asica merged commit bdda251 into main Nov 1, 2024
3 checks passed
@ZL-Asica ZL-Asica deleted the feat/basic-test branch November 1, 2024 00:16
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