Testing

Hapi Family We use @hapi/lab as a test runner, and @hapi/code for assertion.

Test Files

foo.test.js specifies a test file (should be side-by-side with the tested module, foo.js in this case)

Running Tests

yarn run test to run everything, or yarn run test-only <regex> to run a subset.

Last modified November 20, 2020: Update grafana guilde (3f24643)