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

vitest & msw integration #26303

Merged
merged 35 commits into from
May 29, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
35 commits
Select commit Hold shift click to select a range
5265fdf
Fix tests in tests/unit, tests/components and files under tests, look…
joshenlim May 8, 2024
01779dd
Fix tests under pages/projects root
joshenlim May 8, 2024
39ae6ac
Fix
joshenlim May 8, 2024
6d30c39
Comment out broken tests that im stuck with
joshenlim May 8, 2024
4ca0bd8
merge master resolve conflicts
joshenlim May 8, 2024
6381fbe
Merge branch 'master' into chore/fix-studio-jest-tests
joshenlim May 9, 2024
60a60e1
Fix api-report.test
joshenlim May 9, 2024
007dafb
Fix storage-report-test
joshenlim May 9, 2024
27da302
chore: fix some tests
Ziinc May 9, 2024
1ad7c3a
chore: remove logging
Ziinc May 9, 2024
839c39c
Fix LogsPreviewer.test.js
joshenlim May 9, 2024
9f1ef00
Fix most of logs-query-test
joshenlim May 9, 2024
c754ce6
Merge branch 'master' into chore/fix-studio-jest-tests
joshenlim May 10, 2024
fbf9c37
Skip broken tests instead of false positiving them
joshenlim May 10, 2024
4568d35
Replace jest with vitest
kamilogorek May 10, 2024
ed74f61
Rename all *.test.js to *.test.ts
kamilogorek May 10, 2024
5924f3d
Configure vitest to work with jsx
kamilogorek May 10, 2024
dac99ff
fix vitest issues, fix tests, skip broken tests, add msw, add next-ro…
jordienr May 14, 2024
d445d60
uncomment file
jordienr May 14, 2024
299485b
add tests for msw and nrm
jordienr May 15, 2024
7b81ac6
merge master
jordienr May 27, 2024
f0713b9
Merge branch 'master' into jest-to-vitest
saltcod May 28, 2024
faf0923
Fix failing tests
saltcod May 28, 2024
623cd4b
fix tests in RowEditor
jordienr May 29, 2024
7053698
fix datepicker tests
jordienr May 29, 2024
1ba8fa0
Merge branch 'master' into jest-to-vitest
jordienr May 29, 2024
f1164e7
fix type errors and comment out tests that need some refactoring
jordienr May 29, 2024
2ed2e8c
leave 1 test so test script works
jordienr May 29, 2024
99becfe
rm clog and aaaaa
jordienr May 29, 2024
3c41cb3
rename script
jordienr May 29, 2024
8b8f87f
move msw to studio
jordienr May 29, 2024
cc9faba
add pckg json which i forgot in last commit
jordienr May 29, 2024
85ad690
rm consolelog
jordienr May 29, 2024
7207d3b
move vitest ui dep
jordienr May 29, 2024
1511fed
Move next-router-mock to studio.
ivasilov May 29, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
move vitest ui dep
  • Loading branch information
jordienr committed May 29, 2024
commit 7207d3b7b6fd937d2275f92ceca5dda9e87a29bd
1 change: 1 addition & 0 deletions apps/studio/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 146,7 @@
"@types/sqlstring": "^2.3.0",
"@types/uuid": "^8.3.4",
"@types/zxcvbn": "^4.4.1",
"@vitest/ui": "^1.6.0",
"api-types": "*",
"autoprefixer": "^10.4.14",
"common": "*",
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 34,6 @@
"generate:types": "supabase gen types typescript --local > ./supabase/functions/common/database-types.ts"
},
"devDependencies": {
"@vitest/ui": "^1.6.0",
"eslint": "^8.57.0",
"eslint-config-custom": "*",
"next-router-mock": "^0.9.13",
Expand Down
Loading