Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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