mirror of
https://github.com/discourse/discourse.git
synced 2025-03-09 14:34:35 +00:00
DEV: Fix test hook placement (#16551)
It was incorrectly put inside the pretender block.
This commit is contained in:
parent
7f55c9c502
commit
06462631c4
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user