Skip to content

Commit

Permalink
test(database): use secondary db instance for root test
Browse files Browse the repository at this point in the history
  • Loading branch information
Salakar committed Nov 26, 2019
1 parent 9df493e commit 3b67135
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/database/e2e/issues.e2e.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,10 @@ describe('database issues', () => {
after(() => wipe(TEST_PATH));

it('#2813 should return a null snapshot key if path is root', async () => {
const ref = firebase.database().ref();
const ref = firebase
.app()
.database('https://react-native-firebase-testing-db2.firebaseio.com')
.ref();
const snapshot = await ref.once('value');
should.equal(snapshot.key, null);
});
Expand Down

0 comments on commit 3b67135

Please sign in to comment.