mirror of
https://github.com/zhigang1992/react-native-firebase.git
synced 2026-04-24 04:24:52 +08:00
chore: github actions (#3472)
This commit is contained in:
@@ -65,7 +65,12 @@ xdescribe('database().ref().on()', () => {
|
||||
await firebase
|
||||
.database()
|
||||
.ref()
|
||||
.on('value', () => {}, () => {}, 'foo');
|
||||
.on(
|
||||
'value',
|
||||
() => {},
|
||||
() => {},
|
||||
'foo',
|
||||
);
|
||||
return Promise.reject(new Error('Did not throw an Error.'));
|
||||
} catch (error) {
|
||||
error.message.should.containEql("'context' must be an object.");
|
||||
|
||||
@@ -68,7 +68,12 @@ describe('database().ref().once()', () => {
|
||||
await firebase
|
||||
.database()
|
||||
.ref()
|
||||
.once('value', () => {}, () => {}, 'foo');
|
||||
.once(
|
||||
'value',
|
||||
() => {},
|
||||
() => {},
|
||||
'foo',
|
||||
);
|
||||
return Promise.reject(new Error('Did not throw an Error.'));
|
||||
} catch (error) {
|
||||
error.message.should.containEql("'context' must be a context object.");
|
||||
|
||||
Reference in New Issue
Block a user