-
-
Notifications
You must be signed in to change notification settings - Fork 160
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
TypeError: Cannot read property 'toString' of undefined at ActivityTracker.shouldTrack #174
Comments
Found it after about 12 hours of head-scratching!! I used to have this static method:
However I changed this method to be conditional as follows:
This means that when the if statement was false the method returned undefined but because I had no type information on the static method, the test was able to run but an undefined So my fixed method now looks like this which always returns a
** |
umm, I could raise a PR following my previous comment?
|
…d_yarn/serenity-js/console-reporter-2.2.2
I've been happily running my specs for a few days and suddenly I'm now having this problem and I have no idea why:
I can't even find out what part of my code I'm running as there is none of my code in the stack trace.
I've also tried adding/removing the crew as I don't actually need them on this project (which is a screen-scraping application), but it doesn't make any difference. Any thoughts please @jan-molak ?
The text was updated successfully, but these errors were encountered: