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

Test Dashboard #20

Open
tasshi-me opened this issue Jun 28, 2022 · 0 comments
Open

Test Dashboard #20

tasshi-me opened this issue Jun 28, 2022 · 0 comments

Comments

@tasshi-me
Copy link
Owner

tasshi-me commented Jun 28, 2022

Test Dashboard

πŸ•™ Start time βŒ› Duration
1/8/2025, 5:30:51 PM 2.826 s
βœ… Passed ❌ Failed 🚧 Todo βšͺ Total
Test Suites 5 0 - 5
Tests 18 0 0 18

src/tests/git.test.ts [link]

3 passed, 0 failed, 0 todo, done in 0.194 s

  • βœ… parseRemoteUrl
    • βœ… should return correctly (HTTPS)
    • βœ… should return correctly (HTTP)
    • βœ… should return correctly (SSH)

src/tests/index.test.ts [link]

1 passed, 0 failed, 0 todo, done in 2.673 s

  • βœ… jest-md-dashboard
    • βœ… can print dashboard to a file

src/tests/options.test.ts [link]

11 passed, 0 failed, 0 todo, done in 1.499 s

  • βœ… buildTitle
    • βœ… should return default value
    • βœ… should return input value
  • βœ… buildOutputPath
    • βœ… should return default value
    • βœ… should return input value
  • βœ… buildPermalinkBaseUrl
    • βœ… should return permalinkBaseUrl using user input
    • βœ… on GitHub Actions
      • βœ… should return permalinkBaseUrl
      • βœ… should return permalinkBaseUrl (GHE)
      • βœ… should return permalinkBaseUrl if jest runs on subtree
      • βœ… should throw Error if required variables are missing
    • βœ… using local git config
      • βœ… should return permalinkBaseUrl using git config
      • βœ… should return undefined if jest runs outside of git project

src/dashboard/tests/converter.test.ts [link]

1 passed, 0 failed, 0 todo, done in 1.423 s

  • βœ… convertResultsToDashboard
    • βœ… should convert results to dashboard

src/dashboard/tests/printer.test.ts [link]

2 passed, 0 failed, 0 todo, done in 0.315 s

  • βœ… printDashBoard
    • βœ… should print dashboard correctly
    • βœ… should print dashboard without permalink
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 🧊 Icebox
Development

No branches or pull requests

1 participant