Skip to content

Commit

Permalink
fixed http_logs and timeMs for global_before_each and global_after_ea…
Browse files Browse the repository at this point in the history
…ch hooks
  • Loading branch information
harshit-bs committed May 1, 2023
1 parent ae31f81 commit aab8f23
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion lib/testsuite/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -474,7 +474,10 @@ class TestSuite {
await this.globalsInstance.runPluginHook(hookName, [this.settings]);
}

return this.globalHooks[hookName].run(this.client);
const result = await this.globalHooks[hookName].run(this.client);

this.onTestSectionFinished();
return result;

Check failure on line 480 in lib/testsuite/index.js

View workflow job for this annotation

GitHub Actions / build (18.x)

Expected blank line before this statement
});
}

Expand Down

0 comments on commit aab8f23

Please sign in to comment.