Jdruwe
Jdruwe

Reputation: 3520

Hapi.js lab testing issue

I am new to Hapi.js and node.js in general and am experiencing an issue when trying to code some tests.

Project structure:

enter image description here

When I run "npm test" i get the following output, how can I fix this?:

enter image description here

Thanks in advance!

Upvotes: 0

Views: 837

Answers (1)

Gergo Erdosi
Gergo Erdosi

Reputation: 42048

Change the test script in package.json to:

"test": "lab -c"

Upvotes: 4

Related Questions