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

db.test.ts contain some errors ! Cant test the app ! #824

Open
Sanket00900 opened this issue Feb 10, 2024 · 3 comments
Open

db.test.ts contain some errors ! Cant test the app ! #824

Sanket00900 opened this issue Feb 10, 2024 · 3 comments

Comments

@Sanket00900
Copy link

image

@Ahd-Kabeer-Hadi
Copy link

image

i'm also facing an issue

@RushikeshShelar
Copy link

There is only one problem that gives the following error -
Parameter 'todo' implicitly has an 'any' type to resolve this follow the below steps:

  1. Go in tsconfig.json
  2. Add the following line under Complier Options in tsconfig.json
"noImplicitAny": false
  1. Save the file.

Rest all the error that you are receiving is because there is something wrong in your Code or Query.

@Tanishq1604
Copy link

Tanishq1604 commented Apr 16, 2024

image

i'm also facing an issue

bro in mongodb to access the data or we can take an example as user to excess specific user .we have _id not id
so in ur code u have to do User._id to access the specific user

i hope that helps

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants