Skip to content

Commit 894b04a

Browse files
authored
fix(rtdb): Changed admin.database to use database-compat package (#1437)
* fix: Changed admin.database to use database-compat package * fix: Upgraded to latest staged versions of compat packages * fix: Added dom for test compilation which includes Auth types * fix: Using single quotes as per our convention * fix: Using the new database-compat/standalone entrypoint * fix: Changed versions to released tags
1 parent d96e61b commit 894b04a

File tree

11 files changed

+252
-97
lines changed

11 files changed

+252
-97
lines changed

gulpfile.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,9 @@ var paths = {
5454
// emitted.
5555
var buildProject = ts.createProject('tsconfig.json', { rootDir: 'src', declarationMap: true });
5656

57-
var buildTest = ts.createProject('tsconfig.json');
57+
// Include dom libraries during test compilation since we use some web SDK
58+
// libraries in our tests.
59+
var buildTest = ts.createProject('tsconfig.json', { lib: ['es2018', 'dom'] });
5860

5961
var banner = `/*! firebase-admin v${pkg.version} */\n`;
6062

0 commit comments

Comments
 (0)