#1228 fix: do not create sessions after getDatabases call

Merged olavloite
Showing 1 of 3 files from the diff.
Other files ignored by Codecov
test/spanner.ts has changed.
test/instance.ts has changed.

@@ -1254,7 +1254,7 @@
Loading
1254 1254
        let databases: Database[] | null = null;
1255 1255
        if (rowDatabases) {
1256 1256
          databases = rowDatabases.map(database => {
1257 -
            const databaseInstance = self.database(database.name!);
1257 +
            const databaseInstance = self.database(database.name!, {min: 0});
1258 1258
            databaseInstance.metadata = database;
1259 1259
            return databaseInstance;
1260 1260
          });

Everything is accounted for!

No changes detected that need to be reviewed.
What changes does Codecov check for?
Lines, not adjusted in diff, that have changed coverage data.
Files that introduced coverage data that had none before.
Files that have missing coverage data that once were tracked.
Files Coverage
bin 0.00%
src 99.74%
.mocharc.js 79.31%
.prettierrc.js 0.00%
Project Totals (23 files) 98.60%
Loading