backend-test-utils: check afterEach -> afterAll

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
Patrik Oldsberg
2022-12-14 22:52:38 +01:00
parent 341927c47e
commit 5a18e01bfa
@@ -129,7 +129,7 @@ export async function startTestBackend<
let registered = false;
function registerTestHooks() {
if (typeof afterEach !== 'function') {
if (typeof afterAll !== 'function') {
return;
}
if (registered) {