We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 87a6473 commit 9ac873cCopy full SHA for 9ac873c
packages/crashlytics/e2e/crashlytics.e2e.js
@@ -90,10 +90,13 @@ describe('crashlytics()', function () {
90
let logged = false;
91
// eslint-disable-next-line no-console
92
console.warn = msg => {
93
- msg.should.containEql('expects an instance of Error');
94
- logged = true;
95
- // eslint-disable-next-line no-console
96
- console.warn = orig;
+ // we console.warn for deprecated API, can be removed when we move to v9
+ if (!msg.includes('v8 method is deprecated')) {
+ msg.should.containEql('expects an instance of Error');
+ logged = true;
97
+ // eslint-disable-next-line no-console
98
+ console.warn = orig;
99
+ }
100
};
101
102
firebase.crashlytics().recordError(1337);
0 commit comments