Skip to content

Commit

Permalink
fix(crashlytics): e2e tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Aure77 committed Apr 30, 2020
1 parent 2c19900 commit aa4b626
Showing 1 changed file with 0 additions and 30 deletions.
30 changes: 0 additions & 30 deletions packages/crashlytics/e2e/crashlytics.e2e.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,36 +63,6 @@ describe('crashlytics()', () => {
});
});

describe('setUserName()', () => {
it('accepts string values', async () => {
await firebase.crashlytics().setUserName('invertase');
});

it('rejects none string values', async () => {
try {
await firebase.crashlytics().setUserName(666.1337);
return Promise.reject(new Error('Did not throw.'));
} catch (e) {
e.message.should.containEql('must be a string');
}
});
});

describe('setUserEmail()', () => {
it('accepts string values', async () => {
await firebase.crashlytics().setUserEmail('oss@invertase.io');
});

it('rejects none string values', async () => {
try {
await firebase.crashlytics().setUserEmail(666.1337);
return Promise.reject(new Error('Did not throw.'));
} catch (e) {
e.message.should.containEql('must be a string');
}
});
});

describe('setAttribute()', () => {
it('accepts string values', async () => {
await firebase.crashlytics().setAttribute('invertase', '1337');
Expand Down

0 comments on commit aa4b626

Please sign in to comment.