You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After discussion with the team, I believe the only viable solution for us would be to publish typings separately in the @types package, even though hermione itself is now written in TypeScript. This way, everything would work as expected and global API would be visible automatically. Jest uses the same approach. I tried to do this quickly, but encountered some deeper types issues in one of our dependencies, so for now I'll put it into backlog.
Up until that, I suggest using the workaround you mentioned. We'll get back to this issue as soon as we can.
Last Hermione version that worked
7.x.x
Hermione version
8.1.0
Code to reproduce the issue
В новой версии ругается что
currentTest
не определена вMocha.TestFunction
, хотя ранее тут был типTestDefinition
от Hermione.Expected behavior
syntax correct
Actual behavior
TS2339: Property 'currentTest' does not exist on type 'Done'.
Additional information
Лечится вот так в проектном
global.d.ts
:Node.js version
20.10.0
Operating System
macOS
The text was updated successfully, but these errors were encountered: