backend-test-utils: check afterEach -> afterAll
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
@@ -129,7 +129,7 @@ export async function startTestBackend<
|
||||
|
||||
let registered = false;
|
||||
function registerTestHooks() {
|
||||
if (typeof afterEach !== 'function') {
|
||||
if (typeof afterAll !== 'function') {
|
||||
return;
|
||||
}
|
||||
if (registered) {
|
||||
|
||||
Reference in New Issue
Block a user