Next.js Discord

Discord Forum

Testcases are failing

Unanswered
Spectacled bear posted this in #help-forum
Open in Discord
Avatar
Spectacled bearOP
Hi ,

I am new to nextjs.
Application version updated 14 to nextjs 15

All the testcases are failing with error
The ‘original’ argument mist be of type of function

Can you please help me

9 Replies

Avatar
Hi please do not repost the question. You may bump this question at most once a day. I’ll delete the repost
Also, need more info here
Avatar
Spectacled bearOP
Nextjs version updated to 14 to 15
And node version 20.6.0 using
When build the application testcases are failing with below error message.
The ‘original’ argument must be of type function. Received an instance of object at object.<anonymous>( node_modules/test-exclude/index.js)
Avatar
show me some of your test cases if you dont mind?
Avatar
Spectacled bearOP
Image
Avatar
no the error logs but the test cases
Avatar
Spectacled bearOP
Sorry i am unable to copy the code
I have attached screenshot
Image
Avatar
do you think that is enough to debug????
🤦‍♂️