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: vitest and initial tests #42

Merged
merged 49 commits into from
Feb 5, 2024
Merged

feat: vitest and initial tests #42

merged 49 commits into from
Feb 5, 2024

Commits on Jan 28, 2024

  1. feat: initial vitest setup

    Nick VanCise authored and Nick VanCise committed Jan 28, 2024
    Configuration menu
    Copy the full SHA
    6cd3702 View commit details
    Browse the repository at this point in the history
  2. feat: starting on shared component tests

    Nick VanCise authored and Nick VanCise committed Jan 28, 2024
    Configuration menu
    Copy the full SHA
    8de4302 View commit details
    Browse the repository at this point in the history
  3. feat: add testing library linting

    Nick VanCise authored and Nick VanCise committed Jan 28, 2024
    Configuration menu
    Copy the full SHA
    7d37844 View commit details
    Browse the repository at this point in the history
  4. feat: add jest dom linting

    Nick VanCise authored and Nick VanCise committed Jan 28, 2024
    Configuration menu
    Copy the full SHA
    2029ffa View commit details
    Browse the repository at this point in the history
  5. feat: shared components tests

    Nick VanCise authored and Nick VanCise committed Jan 28, 2024
    Configuration menu
    Copy the full SHA
    9210264 View commit details
    Browse the repository at this point in the history
  6. feat: tests for nav component/leaf

    Nick VanCise authored and Nick VanCise committed Jan 28, 2024
    Configuration menu
    Copy the full SHA
    f5b0d3b View commit details
    Browse the repository at this point in the history
  7. refactor: exclude wasm dir from coverage

    Nick VanCise authored and Nick VanCise committed Jan 28, 2024
    Configuration menu
    Copy the full SHA
    b79c496 View commit details
    Browse the repository at this point in the history
  8. fix: styled components dropping types

    - on 6.1.6 seeing issues similar to:
       - styled-components/styled-components#4062
       -  mui/material-ui#15695
    
    - downgrades styled-components
    Nick VanCise authored and Nick VanCise committed Jan 28, 2024
    Configuration menu
    Copy the full SHA
    31daf1d View commit details
    Browse the repository at this point in the history
  9. fix: update styled components, proper rnd prop passing

    - sourced from: https://stackoverflow.com/a/76623553
    
    - had issues with function parameter prop inference with >6.1.1
    Nick VanCise authored and Nick VanCise committed Jan 28, 2024
    Configuration menu
    Copy the full SHA
    2851e01 View commit details
    Browse the repository at this point in the history
  10. refactor: exclude test dir from coverage

    - not necessary
    Nick VanCise authored and Nick VanCise committed Jan 28, 2024
    Configuration menu
    Copy the full SHA
    48a8e94 View commit details
    Browse the repository at this point in the history
  11. feat: modal body and footer tests

    Nick VanCise authored and Nick VanCise committed Jan 28, 2024
    Configuration menu
    Copy the full SHA
    8252040 View commit details
    Browse the repository at this point in the history
  12. feat: include test files when using eslint

    Nick VanCise authored and Nick VanCise committed Jan 28, 2024
    Configuration menu
    Copy the full SHA
    589e94d View commit details
    Browse the repository at this point in the history
  13. feat: wrap all context access, more tests, mocking strategy

    - not sure if im sold on how I'm mocking so far, but this is food for thought
    
    - seems like this may be the best way for me to interact with the global context in tests
    Nick VanCise authored and Nick VanCise committed Jan 28, 2024
    Configuration menu
    Copy the full SHA
    52f17b3 View commit details
    Browse the repository at this point in the history
  14. feat: exclude files from coverage

    - maybe use include if this list grows any more
    Nick VanCise authored and Nick VanCise committed Jan 28, 2024
    Configuration menu
    Copy the full SHA
    0b1e319 View commit details
    Browse the repository at this point in the history
  15. feat: tests for context access wrapper

    Nick VanCise authored and Nick VanCise committed Jan 28, 2024
    Configuration menu
    Copy the full SHA
    c5ef93c View commit details
    Browse the repository at this point in the history
  16. feat: virtual controls form tests

    - tentative impl for tests using media queries
    
    - package updates
    
    - snapshot updates due to styled components update
    Nick VanCise authored and Nick VanCise committed Jan 28, 2024
    Configuration menu
    Copy the full SHA
    5a8a383 View commit details
    Browse the repository at this point in the history
  17. refactor: fix spy/mock reset, virtual controls render initlal values …

    …from storage if provided
    Nick VanCise authored and Nick VanCise committed Jan 28, 2024
    Configuration menu
    Copy the full SHA
    4637d68 View commit details
    Browse the repository at this point in the history
  18. feat: keybindings form spec

    Nick VanCise authored and Nick VanCise committed Jan 28, 2024
    Configuration menu
    Copy the full SHA
    db13155 View commit details
    Browse the repository at this point in the history
  19. feat: download save spec

    - fixes download mime type
    
    - remove dynamic anchor
    
    - adds tests
    Nick VanCise authored and Nick VanCise committed Jan 28, 2024
    Configuration menu
    Copy the full SHA
    724362f View commit details
    Browse the repository at this point in the history
  20. feat: local local rom spec

    Nick VanCise authored and Nick VanCise committed Jan 28, 2024
    Configuration menu
    Copy the full SHA
    221e786 View commit details
    Browse the repository at this point in the history
  21. feat: testing package updates

    Nick VanCise authored and Nick VanCise committed Jan 28, 2024
    Configuration menu
    Copy the full SHA
    1196a28 View commit details
    Browse the repository at this point in the history
  22. refactor: define env vars in .d.ts

    Nick VanCise authored and Nick VanCise committed Jan 28, 2024
    Configuration menu
    Copy the full SHA
    c7fb867 View commit details
    Browse the repository at this point in the history
  23. feat: navigation menu spec, add msw

    - adds navigation menu tests
    
    - adds msw
    
    - adds auth provider to render with context
    Nick VanCise authored and Nick VanCise committed Jan 28, 2024
    Configuration menu
    Copy the full SHA
    4ce068a View commit details
    Browse the repository at this point in the history
  24. feat: bump msw

    Nick VanCise authored and Nick VanCise committed Jan 28, 2024
    Configuration menu
    Copy the full SHA
    db950b4 View commit details
    Browse the repository at this point in the history
  25. feat: load rom/save specs

    Nick VanCise authored and Nick VanCise committed Jan 28, 2024
    Configuration menu
    Copy the full SHA
    0ec1f52 View commit details
    Browse the repository at this point in the history
  26. feat: upload/rom save to server specs

    Nick VanCise authored and Nick VanCise committed Jan 28, 2024
    Configuration menu
    Copy the full SHA
    7171cd5 View commit details
    Browse the repository at this point in the history
  27. feat: login form spec

    Nick VanCise authored and Nick VanCise committed Jan 28, 2024
    Configuration menu
    Copy the full SHA
    5386776 View commit details
    Browse the repository at this point in the history
  28. feat: file system modal spec

    Nick VanCise authored and Nick VanCise committed Jan 28, 2024
    Configuration menu
    Copy the full SHA
    60e4d1c View commit details
    Browse the repository at this point in the history
  29. feat: modal container spec

    - modal container spec
    
    - bumps testing deps
    Nick VanCise authored and Nick VanCise committed Jan 28, 2024
    Configuration menu
    Copy the full SHA
    43d3f77 View commit details
    Browse the repository at this point in the history
  30. feat: pwa prompt spec

    Nick VanCise authored and Nick VanCise committed Jan 28, 2024
    Configuration menu
    Copy the full SHA
    83be42d View commit details
    Browse the repository at this point in the history
  31. chore: periodic package updates

    Nick VanCise authored and Nick VanCise committed Jan 28, 2024
    Configuration menu
    Copy the full SHA
    31375c9 View commit details
    Browse the repository at this point in the history
  32. refactor: keybindings form validation assertions

    Nick VanCise authored and Nick VanCise committed Jan 28, 2024
    Configuration menu
    Copy the full SHA
    8b704ff View commit details
    Browse the repository at this point in the history
  33. refactor: aria label case

    Nick VanCise authored and Nick VanCise committed Jan 28, 2024
    Configuration menu
    Copy the full SHA
    620d5f9 View commit details
    Browse the repository at this point in the history
  34. feat: save states spec

    Nick VanCise authored and Nick VanCise committed Jan 28, 2024
    Configuration menu
    Copy the full SHA
    c2a6ece View commit details
    Browse the repository at this point in the history
  35. chore: dedupe packages

    Nick VanCise authored and Nick VanCise committed Jan 28, 2024
    Configuration menu
    Copy the full SHA
    1e7419c View commit details
    Browse the repository at this point in the history
  36. fix: jsdom latency

    Nick VanCise authored and Nick VanCise committed Jan 28, 2024
    Configuration menu
    Copy the full SHA
    ff20b78 View commit details
    Browse the repository at this point in the history
  37. feat: controls modal spec

    Nick VanCise authored and Nick VanCise committed Jan 28, 2024
    Configuration menu
    Copy the full SHA
    6317b08 View commit details
    Browse the repository at this point in the history
  38. refactor: use testing selector

    Nick VanCise authored and Nick VanCise committed Jan 28, 2024
    Configuration menu
    Copy the full SHA
    b3a5e6b View commit details
    Browse the repository at this point in the history
  39. feat: cheats spec

    - todo: tentatively refactor all tour tests
      - may want to test for # of steps
    Nick VanCise authored and Nick VanCise committed Jan 28, 2024
    Configuration menu
    Copy the full SHA
    f57b705 View commit details
    Browse the repository at this point in the history
  40. feat: upload file modal specs

    Nick VanCise authored and Nick VanCise committed Jan 28, 2024
    Configuration menu
    Copy the full SHA
    b2f0f16 View commit details
    Browse the repository at this point in the history
  41. chore: testing package updates

    Nick VanCise authored and Nick VanCise committed Jan 28, 2024
    Configuration menu
    Copy the full SHA
    4eda476 View commit details
    Browse the repository at this point in the history

Commits on Jan 29, 2024

  1. chore: update test deps

    Nick VanCise authored and Nick VanCise committed Jan 29, 2024
    Configuration menu
    Copy the full SHA
    316cafa View commit details
    Browse the repository at this point in the history

Commits on Jan 30, 2024

  1. feat: screen spec

    - additional readme update
    Nick VanCise authored and Nick VanCise committed Jan 30, 2024
    Configuration menu
    Copy the full SHA
    392c9fb View commit details
    Browse the repository at this point in the history

Commits on Feb 2, 2024

  1. chore: testing package updates

    Nick VanCise authored and Nick VanCise committed Feb 2, 2024
    Configuration menu
    Copy the full SHA
    3cb48ec View commit details
    Browse the repository at this point in the history
  2. refactor: screen initial bounds test

    Nick VanCise authored and Nick VanCise committed Feb 2, 2024
    Configuration menu
    Copy the full SHA
    6fc6ee1 View commit details
    Browse the repository at this point in the history

Commits on Feb 4, 2024

  1. refactor: screen validate gripper handles

    Nick VanCise authored and Nick VanCise committed Feb 4, 2024
    Configuration menu
    Copy the full SHA
    d22bf17 View commit details
    Browse the repository at this point in the history
  2. refactor: screen rename tests

    Nick VanCise authored and Nick VanCise committed Feb 4, 2024
    Configuration menu
    Copy the full SHA
    a5678cd View commit details
    Browse the repository at this point in the history

Commits on Feb 5, 2024

  1. refactor: remove explicit timeout

    Nick VanCise authored and Nick VanCise committed Feb 5, 2024
    Configuration menu
    Copy the full SHA
    449f694 View commit details
    Browse the repository at this point in the history
  2. feat: control panel spec, accessible buttons

    - control panel spec
    
    - accessible buttons
    
    - remove unnecessary props
    
    - fix aria labels
    Nick VanCise authored and Nick VanCise committed Feb 5, 2024
    Configuration menu
    Copy the full SHA
    bd93d9a View commit details
    Browse the repository at this point in the history