Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: remove outdated mocha references #747

Merged
merged 1 commit into from
Mar 24, 2023
Merged

Conversation

j0tunn
Copy link
Contributor

@j0tunn j0tunn commented Mar 24, 2023

No description provided.

@@ -60,7 +59,7 @@ module.exports = browser => {
const currSize = await currImgInst.getSize();
const currImg = { path: temp.path(Object.assign(tempOpts, { suffix: ".png" })), size: currSize };

const test = getTestContext(session.executionContext);
const test = session.executionContext.ctx.currentTest;
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

это свойство есть всегда и у хука и у теста: https://github.com/gemini-testing/hermione/blob/master/src/worker/runner/test-runner/execution-thread.js#L13-L24

@j0tunn j0tunn merged commit 147659d into master Mar 24, 2023
@j0tunn j0tunn deleted the chore/rm.mocha.mentions branch March 24, 2023 15:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant