File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
packages/firestore/test/integration/api Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -27,7 +27,6 @@ import {
27
27
withTestDb
28
28
} from '../util/helpers' ;
29
29
import { ALT_PROJECT_ID , DEFAULT_PROJECT_ID } from '../util/settings' ;
30
- import { TEST_PROJECT } from '../../unit/local/persistence_test_helpers' ;
31
30
32
31
const FieldPath = firebaseExport . FieldPath ;
33
32
const FieldValue = firebaseExport . FieldValue ;
@@ -168,14 +167,14 @@ apiDescribe('Validation:', (persistence: boolean) => {
168
167
} ) ;
169
168
170
169
validationIt ( persistence , 'enforces minimum cache size' , ( ) => {
171
- const db = newTestFirestore ( TEST_PROJECT ) ;
170
+ const db = newTestFirestore ( 'test-project' ) ;
172
171
expect ( ( ) => db . settings ( { cacheSizeBytes : 1 } ) ) . to . throw (
173
172
'cacheSizeBytes must be at least 1048576'
174
173
) ;
175
174
} ) ;
176
175
177
176
validationIt ( persistence , 'garbage collection can be disabled' , ( ) => {
178
- const db = newTestFirestore ( TEST_PROJECT ) ;
177
+ const db = newTestFirestore ( 'test-project' ) ;
179
178
// Verify that this doesn't throw.
180
179
db . settings ( { cacheSizeBytes : /* CACHE_SIZE_UNLIMITED= */ - 1 } ) ;
181
180
} ) ;
You can’t perform that action at this time.
0 commit comments