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

chore: component testing #177

Merged
merged 28 commits into from
Sep 25, 2024
Merged

chore: component testing #177

merged 28 commits into from
Sep 25, 2024

Commits on Sep 3, 2024

  1. wip: unit testing setup

    WesselSmit committed Sep 3, 2024
    Configuration menu
    Copy the full SHA
    993188d View commit details
    Browse the repository at this point in the history

Commits on Sep 4, 2024

  1. Configuration menu
    Copy the full SHA
    73df224 View commit details
    Browse the repository at this point in the history

Commits on Sep 6, 2024

  1. Configuration menu
    Copy the full SHA
    9bd634e View commit details
    Browse the repository at this point in the history

Commits on Sep 11, 2024

  1. Start tests

    luukbrauckmann committed Sep 11, 2024
    Configuration menu
    Copy the full SHA
    891d53e View commit details
    Browse the repository at this point in the history

Commits on Sep 12, 2024

  1. Configuration menu
    Copy the full SHA
    4c39a4d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f9f3fad View commit details
    Browse the repository at this point in the history

Commits on Sep 16, 2024

  1. Configuration menu
    Copy the full SHA
    ca03e22 View commit details
    Browse the repository at this point in the history

Commits on Sep 20, 2024

  1. feature: Sitelinks Searchbox (#140)

    # Changes
    
    - Adds sitelinks search box structured data
    
    # Associated issue
    
    Resolves #109 
    
    # How to test
    
    1. Copy preview link
    2. Go to https://search.google.com/test/rich-results
    3. Paste preview link in field
    
    # Checklist
    
    - [x] I have performed a self-review of my own code
    - [x] I have made sure that my PR is easy to review (not too big,
    includes comments)
    - [x] I have made updated relevant documentation files (in project
    README, docs/, etc)
    - [x] I have added a decision log entry if the change affects the
    architecture or changes a significant technology
    - [x] I have notified a reviewer
    
    <!-- Please strike through and check off all items that do not apply
    (rather than removing them) -->
    
    ---------
    
    Co-authored-by: Jasper Moelker <jasper@voorhoede.nl>
    luukbrauckmann and jbmoelker committed Sep 20, 2024
    Configuration menu
    Copy the full SHA
    65d9ce3 View commit details
    Browse the repository at this point in the history
  2. Feat/anchor slot trim (#173)

    # Changes
    
    - Trims trailing whitespace from anchor (text) content. This prevents an
    underline from extending beyond the word boundary.
    
    
    # How to test
    
    1. Open preview link
    2. Scroll to the hyperlinks example.
    3. See that their link does not extend to the space after the last word.
    4. Compare that with the current https://head-start.pages.dev/en/
    
    # Checklist
    
    - [x] I have performed a self-review of my own code
    - [x] I have made sure that my PR is easy to review (not too big,
    includes comments)
    - ~~I have made updated relevant documentation files (in project README,
    docs/, etc)~~
    - ~~I have added a decision log entry if the change affects the
    architecture or changes a significant technology~~
    - [x] I have notified a reviewer
    
    <!-- Please strike through and check off all items that do not apply
    (rather than removing them) -->
    
    ---------
    
    Co-authored-by: Jasper Moelker <jasper@voorhoede.nl>
    2 people authored and luukbrauckmann committed Sep 20, 2024
    Configuration menu
    Copy the full SHA
    30abb69 View commit details
    Browse the repository at this point in the history
  3. Fix: Astro imports in typescript (#176)

    # Changes
    
    - Adds TS plugin for .astro files, so it won't be highlighted as an
    error.
    
    # Associated issue
    
    Resolves #175 
    
    # How to test
    
    <!-- example:
    1. Open a non VSCode editor (best is to test in Zed)
    2. Checkout branch
    3. Run `npm ci`
    4. Open a .ts file which imports an .astro file. For example
    src/components/Tabs/index.ts
    5. Imports should not be highlighted as error.
    -->
    
    # Checklist
    
    - [x] I have performed a self-review of my own code
    - [x] I have made sure that my PR is easy to review (not too big,
    includes comments)
    - [x] I have made updated relevant documentation files (in project
    README, docs/, etc)
    - [x] I have added a decision log entry if the change affects the
    architecture or changes a significant technology
    - [x] I have notified a reviewer
    
    <!-- Please strike through and check off all items that do not apply
    (rather than removing them) -->
    
    Co-authored-by: Jasper Moelker <jasper@voorhoede.nl>
    luukbrauckmann and jbmoelker committed Sep 20, 2024
    Configuration menu
    Copy the full SHA
    ec23e91 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    9177eb1 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    26a3e35 View commit details
    Browse the repository at this point in the history
  6. Added table tests

    luukbrauckmann committed Sep 20, 2024
    Configuration menu
    Copy the full SHA
    768af67 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    38e91b6 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    34ad709 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    28709e9 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    3f01879 View commit details
    Browse the repository at this point in the history
  11. feat/unit-testing (#169)

    <!-- example:
    - Fixes wrong color in button
    - Adds a new page
    -->
    
    - adds `test` and `unit-test` scripts
    - adds unit tests for `i18n` lib function
    - adds a `vitest.config.ts` so we can configure the testing suite
    - adds new deps needed for testing
    - adds `unit-tests` step to github action CI so we test each commit to
    the repo from now on
    - uses the `github actions reporter` to enable formatting and
    highlighting of testing output in the CI pipeline
    - adds documentation for testing setup
    - fixes the following issues in the i18n lib function:
      - interpolation did not work in the `t` function
      - params and language props were not supported in `t` function
    
    Part of #103
    
    - verify that the tests in the CI were succesful
    
    - [x] I have performed a self-review of my own code
    - [x] I have made sure that my PR is easy to review (not too big,
    includes comments)
    - [x] I have made updated relevant documentation files (in project
    README, docs/, etc)
    - [x] I have added a decision log entry if the change affects the
    architecture or changes a significant technology
    - [x] I have notified a reviewer
    
    <!-- Please strike through and check off all items that do not apply
    (rather than removing them) -->
    WesselSmit authored and luukbrauckmann committed Sep 20, 2024
    Configuration menu
    Copy the full SHA
    420cd42 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    2304433 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    38df5d3 View commit details
    Browse the repository at this point in the history
  14. Refactor

    luukbrauckmann committed Sep 20, 2024
    Configuration menu
    Copy the full SHA
    f9c6d2f View commit details
    Browse the repository at this point in the history
  15. Fixed tabs tests

    luukbrauckmann committed Sep 20, 2024
    Configuration menu
    Copy the full SHA
    56a72e7 View commit details
    Browse the repository at this point in the history

Commits on Sep 23, 2024

  1. Merge main

    luukbrauckmann committed Sep 23, 2024
    Configuration menu
    Copy the full SHA
    9392d0b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    444f9bf View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    5eb0f17 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    8b3d04e View commit details
    Browse the repository at this point in the history

Commits on Sep 24, 2024

  1. New lockfile

    luukbrauckmann committed Sep 24, 2024
    Configuration menu
    Copy the full SHA
    37426da View commit details
    Browse the repository at this point in the history

Commits on Sep 25, 2024

  1. Configuration menu
    Copy the full SHA
    24f5842 View commit details
    Browse the repository at this point in the history