-
Notifications
You must be signed in to change notification settings - Fork 49
fix test failures #1657
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
Comments
not related but also affects tests
|
@michael-volynets isInPrivateMode: (e: any) => {
return e.message.startsWith('BrowserMsg() (no status text): -1 when GET-ing blob:moz-extension://');
} You may get various errors:
When you use But you cannot go from using any (don't know what it is) to writing code as if it was an One way to test it is: isInPrivateMode: (e: any) => {
return e instanceof Error && e.message.startsWith('BrowserMsg() (no status text): -1 when GET-ing blob:moz-extension://');
} Now you fix the two errors mentioned above. You don't use |
@michael-volynets Assigning to you so that you can fix it and learn the right habits 👍 |
You can also run |
I'll do this because I need to do a release soon. |
It would be safer to use |
Yes, I have tslint installed but I think I need to check if it's working correctly because I didn't see those alerts. |
I'm seeing consistent failures but it looks like a false alarm. I'll investigate it.
The text was updated successfully, but these errors were encountered: