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

Revamp type tests setup #4095

Merged
merged 112 commits into from
Jan 26, 2024
Merged

Commits on Jan 18, 2024

  1. Configuration menu
    Copy the full SHA
    5cc0eb2 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6339e65 View commit details
    Browse the repository at this point in the history
  3. Update tsconfig.test.json

    aryaemami59 committed Jan 18, 2024
    Configuration menu
    Copy the full SHA
    13423fc View commit details
    Browse the repository at this point in the history
  4. Fix NPM scripts

    aryaemami59 committed Jan 18, 2024
    Configuration menu
    Copy the full SHA
    d30bb70 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    7be80cf View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    6a2b72a View commit details
    Browse the repository at this point in the history
  7. Fix type-tests NPM script

    aryaemami59 committed Jan 18, 2024
    Configuration menu
    Copy the full SHA
    bbf87f3 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    0b6deb5 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    756940e View commit details
    Browse the repository at this point in the history
  10. Add more ts-ignores

    aryaemami59 committed Jan 18, 2024
    Configuration menu
    Copy the full SHA
    8785685 View commit details
    Browse the repository at this point in the history

Commits on Jan 19, 2024

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

Commits on Jan 20, 2024

  1. Merge branch 'master' of https://github.com/reduxjs/redux-toolkit int…

    …o fix-type-tests-setup
    aryaemami59 committed Jan 20, 2024
    Configuration menu
    Copy the full SHA
    237119a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    bfb864a View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    052a512 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    18d5f59 View commit details
    Browse the repository at this point in the history
  5. Rename vitest.config.ts to vitest.config.mts

      - This was done because the CJS build of Vite's Node API is deprecated. See https://vitejs.dev/guide/troubleshooting.html#vite-cjs-node-api-deprecated for more details.
    aryaemami59 committed Jan 20, 2024
    Configuration menu
    Copy the full SHA
    f6809fa View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    50c0538 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    eb019a6 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    bef8487 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    bf2500c View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    49efa87 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    d5db295 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    2c5d7a7 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    06ddb7c View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    a46e9fc View commit details
    Browse the repository at this point in the history
  15. Add clean NPM script

    aryaemami59 committed Jan 20, 2024
    Configuration menu
    Copy the full SHA
    adefdaa View commit details
    Browse the repository at this point in the history
  16. Add test:watch NPM script

    aryaemami59 committed Jan 20, 2024
    Configuration menu
    Copy the full SHA
    27740fc View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    a68d2a2 View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    e2bf45a View commit details
    Browse the repository at this point in the history
  19. Merge branch 'master' of https://github.com/reduxjs/redux-toolkit int…

    …o fix-type-tests-setup
    aryaemami59 committed Jan 20, 2024
    Configuration menu
    Copy the full SHA
    bb3604b View commit details
    Browse the repository at this point in the history

Commits on Jan 22, 2024

  1. Merge branch 'master' of https://github.com/reduxjs/redux-toolkit int…

    …o fix-type-tests-setup
    aryaemami59 committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    407904d View commit details
    Browse the repository at this point in the history

Commits on Jan 23, 2024

  1. Bump msw

    aryaemami59 committed Jan 23, 2024
    Configuration menu
    Copy the full SHA
    90a7d92 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    aa0eef7 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    15dfd2c View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    0e99f83 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    42ffa52 View commit details
    Browse the repository at this point in the history
  6. Skip faulty tests for now

    aryaemami59 committed Jan 23, 2024
    Configuration menu
    Copy the full SHA
    4fdae59 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    1db9130 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    c8e1961 View commit details
    Browse the repository at this point in the history
  9. Fix timeout tests

    aryaemami59 committed Jan 23, 2024
    Configuration menu
    Copy the full SHA
    7e54e5c View commit details
    Browse the repository at this point in the history
  10. Fix FormData tests

    aryaemami59 committed Jan 23, 2024
    Configuration menu
    Copy the full SHA
    4237e77 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    75b5e2d View commit details
    Browse the repository at this point in the history
  12. Rename buildSelector.test.ts to buildSelector.test-d.ts

      - This was done to be more explicit about the fact that this file only includes type tests.
    aryaemami59 committed Jan 23, 2024
    Configuration menu
    Copy the full SHA
    f0a9ef9 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    0017cbe View commit details
    Browse the repository at this point in the history
  14. Rename unionTypes.test.ts to unionTypes.test-d.ts

      - This was done to be more explicit about the fact that this file only includes type tests.
    aryaemami59 committed Jan 23, 2024
    Configuration menu
    Copy the full SHA
    5563f1c View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    931f6f6 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    771a308 View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    f0dcf26 View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    41054fe View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    8698719 View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    757d2d7 View commit details
    Browse the repository at this point in the history
  21. Configuration menu
    Copy the full SHA
    c345514 View commit details
    Browse the repository at this point in the history
  22. Configuration menu
    Copy the full SHA
    78c55c7 View commit details
    Browse the repository at this point in the history
  23. Fix helpers.tsx imports

    aryaemami59 committed Jan 23, 2024
    Configuration menu
    Copy the full SHA
    75906ee View commit details
    Browse the repository at this point in the history
  24. Configuration menu
    Copy the full SHA
    073904b View commit details
    Browse the repository at this point in the history
  25. Configuration menu
    Copy the full SHA
    5f14513 View commit details
    Browse the repository at this point in the history
  26. Configuration menu
    Copy the full SHA
    eba8c4e View commit details
    Browse the repository at this point in the history
  27. Revert "Remove extra vitest.d.ts file"

    This reverts commit eba8c4e.
    aryaemami59 committed Jan 23, 2024
    Configuration menu
    Copy the full SHA
    c81bf7c View commit details
    Browse the repository at this point in the history
  28. Configuration menu
    Copy the full SHA
    5e6921b View commit details
    Browse the repository at this point in the history
  29. Merge branch 'master' of https://github.com/reduxjs/redux-toolkit int…

    …o fix-type-tests-setup
    aryaemami59 committed Jan 23, 2024
    Configuration menu
    Copy the full SHA
    35b7ae1 View commit details
    Browse the repository at this point in the history
  30. Merge branch 'master' of https://github.com/reduxjs/redux-toolkit int…

    …o fix-type-tests-setup
    aryaemami59 committed Jan 23, 2024
    Configuration menu
    Copy the full SHA
    1960281 View commit details
    Browse the repository at this point in the history
  31. Revert "Rename vitest.config.ts to vitest.config.mts"

    This reverts commit f6809fa.
    aryaemami59 committed Jan 23, 2024
    Configuration menu
    Copy the full SHA
    53ac252 View commit details
    Browse the repository at this point in the history
  32. Revert "Change vitest.config.ts to vitest.config.mts inside `test…

    …s.yml` file"
    
    This reverts commit bef8487.
    aryaemami59 committed Jan 23, 2024
    Configuration menu
    Copy the full SHA
    518db42 View commit details
    Browse the repository at this point in the history
  33. Revert "Change vitest.config.ts to vitest.config.mts inside `test…

    …s.yml` file"
    
    This reverts commit bf2500c.
    aryaemami59 committed Jan 23, 2024
    Configuration menu
    Copy the full SHA
    3fc140e View commit details
    Browse the repository at this point in the history
  34. Revert "Remove interopDefault from vitest.config.mts as it is ena…

    …bled by default"
    
    This reverts commit d5db295.
    aryaemami59 committed Jan 23, 2024
    Configuration menu
    Copy the full SHA
    03c183d View commit details
    Browse the repository at this point in the history
  35. Configuration menu
    Copy the full SHA
    04a73e4 View commit details
    Browse the repository at this point in the history
  36. Revert "Add test:watch NPM script"

    This reverts commit 27740fc.
    aryaemami59 committed Jan 23, 2024
    Configuration menu
    Copy the full SHA
    a3eb0f6 View commit details
    Browse the repository at this point in the history
  37. Revert "Remove interopDefault from vitest.config.mts as it is ena…

    …bled by default"
    
    This reverts commit d5db295.
    aryaemami59 committed Jan 23, 2024
    Configuration menu
    Copy the full SHA
    bf5c147 View commit details
    Browse the repository at this point in the history
  38. Revert "Bump node-fetch dev dependency"

    This reverts commit e2bf45a.
    aryaemami59 committed Jan 23, 2024
    Configuration menu
    Copy the full SHA
    07288a5 View commit details
    Browse the repository at this point in the history
  39. Configuration menu
    Copy the full SHA
    e98cee5 View commit details
    Browse the repository at this point in the history
  40. Revert "Split up handlers and server files"

    This reverts commit 0e99f83.
    aryaemami59 committed Jan 23, 2024
    Configuration menu
    Copy the full SHA
    ab772d0 View commit details
    Browse the repository at this point in the history
  41. Configuration menu
    Copy the full SHA
    767047d View commit details
    Browse the repository at this point in the history
  42. Update lockfile

    aryaemami59 committed Jan 23, 2024
    Configuration menu
    Copy the full SHA
    d0e893f View commit details
    Browse the repository at this point in the history
  43. Configuration menu
    Copy the full SHA
    e5220ca View commit details
    Browse the repository at this point in the history
  44. Configuration menu
    Copy the full SHA
    5aa0997 View commit details
    Browse the repository at this point in the history
  45. Configuration menu
    Copy the full SHA
    6a66e30 View commit details
    Browse the repository at this point in the history
  46. Configuration menu
    Copy the full SHA
    6f88342 View commit details
    Browse the repository at this point in the history
  47. Configuration menu
    Copy the full SHA
    464b1ad View commit details
    Browse the repository at this point in the history
  48. Configuration menu
    Copy the full SHA
    6b8e29f View commit details
    Browse the repository at this point in the history
  49. Configuration menu
    Copy the full SHA
    14370c9 View commit details
    Browse the repository at this point in the history
  50. Configuration menu
    Copy the full SHA
    f257c01 View commit details
    Browse the repository at this point in the history
  51. Configuration menu
    Copy the full SHA
    ebf3916 View commit details
    Browse the repository at this point in the history
  52. Configuration menu
    Copy the full SHA
    d7ea728 View commit details
    Browse the repository at this point in the history
  53. Configuration menu
    Copy the full SHA
    3e59d90 View commit details
    Browse the repository at this point in the history
  54. Configuration menu
    Copy the full SHA
    a27496b View commit details
    Browse the repository at this point in the history
  55. Configuration menu
    Copy the full SHA
    6eb5603 View commit details
    Browse the repository at this point in the history
  56. Configuration menu
    Copy the full SHA
    190adc0 View commit details
    Browse the repository at this point in the history
  57. Configuration menu
    Copy the full SHA
    cdb8df8 View commit details
    Browse the repository at this point in the history
  58. Configuration menu
    Copy the full SHA
    4d42944 View commit details
    Browse the repository at this point in the history
  59. Configuration menu
    Copy the full SHA
    f3d2c4b View commit details
    Browse the repository at this point in the history
  60. Configuration menu
    Copy the full SHA
    944c0c7 View commit details
    Browse the repository at this point in the history
  61. Configuration menu
    Copy the full SHA
    2154d33 View commit details
    Browse the repository at this point in the history
  62. Configuration menu
    Copy the full SHA
    b87f710 View commit details
    Browse the repository at this point in the history
  63. Add test:watch NPM script

    aryaemami59 committed Jan 23, 2024
    Configuration menu
    Copy the full SHA
    c8e1fc3 View commit details
    Browse the repository at this point in the history
  64. Configuration menu
    Copy the full SHA
    2d53ca5 View commit details
    Browse the repository at this point in the history
  65. Fix Vitest type checker bug

      - It seems like Vitest's type checker will fail if it detects an object property named "test".
    aryaemami59 committed Jan 23, 2024
    Configuration menu
    Copy the full SHA
    d0925af View commit details
    Browse the repository at this point in the history
  66. Configuration menu
    Copy the full SHA
    9676b8e View commit details
    Browse the repository at this point in the history
  67. Configuration menu
    Copy the full SHA
    8d54f12 View commit details
    Browse the repository at this point in the history

Commits on Jan 24, 2024

  1. Merge branch 'master' of https://github.com/reduxjs/redux-toolkit int…

    …o fix-type-tests-setup
    aryaemami59 committed Jan 24, 2024
    Configuration menu
    Copy the full SHA
    6b0eca6 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6ec0d4e View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    01bcfcc View commit details
    Browse the repository at this point in the history
  4. Remove declare global from helpers.tsx

      - Now we can have an ambient declaration file to handle types for custom  matchers.
    aryaemami59 committed Jan 24, 2024
    Configuration menu
    Copy the full SHA
    8597a71 View commit details
    Browse the repository at this point in the history

Commits on Jan 25, 2024

  1. Merge branch 'master' of https://github.com/reduxjs/redux-toolkit int…

    …o fix-type-tests-setup
    aryaemami59 committed Jan 25, 2024
    Configuration menu
    Copy the full SHA
    43b5f7e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    325d540 View commit details
    Browse the repository at this point in the history
  3. Add global module augmentation for namespace jest

      - This changes was made because TypeScript 4.7 and 4.8 need an explicit global module augmentation for the `jest` namespace.
    aryaemami59 committed Jan 25, 2024
    Configuration menu
    Copy the full SHA
    81c1ad7 View commit details
    Browse the repository at this point in the history
  4. Remove some @ts-ignores

    aryaemami59 committed Jan 25, 2024
    Configuration menu
    Copy the full SHA
    d9fb5b6 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    288b5e7 View commit details
    Browse the repository at this point in the history
  6. Fix RTKQ type issue

    aryaemami59 committed Jan 25, 2024
    Configuration menu
    Copy the full SHA
    2b9b4dc View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    e25222d View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    bb31056 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    c501ef4 View commit details
    Browse the repository at this point in the history
  10. Remove duplicates

    aryaemami59 committed Jan 25, 2024
    Configuration menu
    Copy the full SHA
    6b80fdd View commit details
    Browse the repository at this point in the history