Closed mthomps4 closed 3 years ago
Should we also remove it from our UserFactory
?
I think it will also cleanup this line and allow us to remove the eslint disable: https://github.com/echobind/bisonapp/blob/canary/packages/create-bison-app/template/tests/requests/user/signup.test.ts#L94
Should we also remove it from our
UserFactory
?I think it will also cleanup this line and allow us to remove the eslint disable: https://github.com/echobind/bisonapp/blob/canary/packages/create-bison-app/template/tests/requests/user/signup.test.ts#L94
Yup, I'll make a note to clean that up. Forgot about the pre-existing pieces. 👍🏼
@kgajera Thanks for double-checking that!
I removed roles
previously from unused linting - and that was needing to be stripped for the test. 👍🏼
Also, didn't realize UserFactory was still using the old custom Attrs instead of built types -- corrected that as well.
Partial<Prisma.UserCreateInput>
4fd8459
Changes
fix: Removes generated id from factory in favor of DB
Checklist
Fixes #144