9 Commits

Author SHA1 Message Date
Okechi Jones-Williams
28ce878b34 Add API unit tests for create-* endpoints (#23)
* setting up test structure

* .

* added playwright config file, deleted original playwright folder and moved "some.test" file

* continued test structure setup

* Updating test folder structure

* Added database seeding script and backend testing folder structure

* removed the database test

* Replaced db seeding script

* Updated userInformation.ts to use values from choices.tsx

* merge prep

* removing extra unit test, moving api test to correct folder

* Pushing to get help with sql Unit test

* Updating get-profiles unit tests

* Added more unit tests

* .

* Added more unit tests

* Added getSupabaseToken unit test

* .

* excluding supabase token test so ci can pass

* .

* Seperated the seedDatabase func into its own file so it can be accessed seperatly

* Fixed failing test

* .

* .

* Fix tests

* Fix lint

* Clean

* Fixed module paths in compute-score unit test

* Updated root tsconfig to recognise backend/shared

* Added create comment unit test

* Added some unit tests

* Working on createProfile return issue

* .

* Fixes

---------

Co-authored-by: MartinBraquet <martin.braquet@gmail.com>
2025-12-12 10:34:07 +02:00
MartinBraquet
8928cd1667 Update test structure 2025-11-15 00:14:12 +01:00
MartinBraquet
53432520cd Pull up features from manifold.love 2025-08-27 21:30:05 +02:00
MartinBraquet
9a527fef20 Update lint 2025-08-04 14:23:30 +02:00
MartinBraquet
e6de25c0a4 Fix some lints 2025-08-04 11:44:24 +02:00
MartinBraquet
87ad6ac6f1 Update auth 2025-07-27 18:45:21 +02:00
MartinBraquet
2e6958f79b Update 2025-07-27 17:36:52 +02:00
MartinBraquet
94e4691b0e Updates 2025-07-27 16:45:52 +02:00
MartinBraquet
abe8791f06 Initial commit from Create Next App 2025-07-26 23:08:32 +02:00