Skip to content

Commit

Permalink
Replace Hapi Lab with node-test for test runner
Browse files Browse the repository at this point in the history
DEFRA/water-abstraction-team#130

We as a team would love to move the [water-abstraction-system](https://github.com/DEFRA/water-abstraction-system) project to use [ECMAScript Modules (ESM)](https://nodejs.org/api/esm.html). The one thing that has held us back is our test framework [Hapi Lab](https://hapi.dev/module/lab/).

We've worked hard over the last year restructuring how we build our tests and [moving away from our dependence on the database](DEFRA/water-abstraction-team#124).

This means we are now ready to make the switch to a test framework that natively supports ESM. We've opted for [node-test](https://nodejs.org/api/test.html#test-runner).

In this change we

- remove the **Hapi Lab** dependency
- update all tests to require **node-test**
- update our scripts to use **node-test**
  • Loading branch information
Cruikshanks committed Dec 30, 2024
1 parent c45bd11 commit 1d45c3e
Showing 0 changed files with 0 additions and 0 deletions.

0 comments on commit 1d45c3e

Please sign in to comment.