Skip to content

Commit

Permalink
Fix compilation error in integration tests
Browse files Browse the repository at this point in the history
Introduced by #790
  • Loading branch information
rsgowman committed Mar 3, 2020
1 parent 0f6c02e commit b676dc4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test/integration/database.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -170,12 +170,12 @@ describe('admin.database', () => {
});
});

// Check for type compilation. This method is not invoked by any
// tests. But it will trigger a TS compilation failure if the RTDB
// typings were not loaded correctly.
// Check for type compilation. This method is not invoked by any tests. But it
// will trigger a TS compilation failure if the RTDB typings were not loaded
// correctly. (Marked as export to avoid compilation warning.)
//
// eslint-disable-next-line @typescript-eslint/no-unused-vars
function addValueEventListener(
export function addValueEventListener(
db: admin.database.Database,
callback: (s: admin.database.DataSnapshot | null) => any): void {
const eventType: admin.database.EventType = 'value';
Expand Down

0 comments on commit b676dc4

Please sign in to comment.