mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 09:48:58 -04:00
[ftr] label global hooks which tie into lifecycle service (#118949)
This commit is contained in:
parent
77acb68973
commit
dfa856eb4c
1 changed files with 2 additions and 2 deletions
|
@ -57,7 +57,7 @@ export function decorateMochaUi(log, lifecycle, context, { isDockerGroup, rootTa
|
|||
}
|
||||
|
||||
argumentsList[1] = function () {
|
||||
before(async () => {
|
||||
before('beforeTestSuite.trigger', async () => {
|
||||
await lifecycle.beforeTestSuite.trigger(this);
|
||||
});
|
||||
|
||||
|
@ -87,7 +87,7 @@ export function decorateMochaUi(log, lifecycle, context, { isDockerGroup, rootTa
|
|||
|
||||
provider.call(this);
|
||||
|
||||
after(async () => {
|
||||
after('afterTestSuite.trigger', async () => {
|
||||
await lifecycle.afterTestSuite.trigger(this);
|
||||
});
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue