Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix compilation error in integration tests #798

Merged
merged 1 commit into from
Mar 3, 2020
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