DEV: Fix test hook placement (#16551)

It was incorrectly put inside the pretender block.
This commit is contained in:
Jarek Radosz 2022-04-25 15:07:55 +02:00 committed by GitHub
parent 7f55c9c502
commit 06462631c4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -103,10 +103,10 @@ acceptance("Search - Full Page", function (needs) {
searchResultClickTracked = true;
return helper.response({ success: "OK" });
});
});
needs.hooks.afterEach(() => {
searchResultClickTracked = false;
});
needs.hooks.afterEach(function () {
searchResultClickTracked = false;
});
test("perform various searches", async function (assert) {