Next.js Discord

Discord Forum

Testcases are failing

Unanswered
Spectacled bear posted this in #help-forum
Open in Discord
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

Also, need more info here
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)
Spectacled bearOP
@Spectacled bear Click to see attachment
no the error logs but the test cases
Spectacled bearOP
Sorry i am unable to copy the code
I have attached screenshot
@Spectacled bear Sorry i am unable to copy the code I have attached screenshot
do you think that is enough to debug????
🤦‍♂️