chore: github actions (#3472)

This commit is contained in:
Mike Diarmid
2020-04-17 14:54:16 +01:00
committed by GitHub
parent b412c7139a
commit e427fcfd9b
50 changed files with 511 additions and 576 deletions

View File

@@ -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.");

View File

@@ -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.");