TypeStrong/ts-mockito

Unable to run tests with 2.7.7+

Opened this issue · 1 comments

It looks like this commit broke my tests.

I am using framework Ts.ED that got build in inherited methods that are named like:

async $afterInit(): Promise<void> {
    // Logic
}

As $ is special character it looks like it is not detected correctly by RegEx used in this commit.

Its working on version 2.6.6