0

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!

Gergo Erdosi
  • 40,904
  • 21
  • 118
  • 94
Jdruwe
  • 3,450
  • 6
  • 36
  • 57

1 Answers1

4

Change the test script in package.json to:

"test": "lab -c"
Gergo Erdosi
  • 40,904
  • 21
  • 118
  • 94