Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save schmidt-sebastian/18116a7c92ffbfdf1d535720850e63e8 to your computer and use it in GitHub Desktop.
Save schmidt-sebastian/18116a7c92ffbfdf1d535720850e63e8 to your computer and use it in GitHub Desktop.
mrschmidt@mrschmidt-macbookpro3 firebase-js-sdk (mrschmidt-closewhenidle) $ (cd packages/firebase; yarn prepare) && (cd packages/firestore; yarn prepare) && (cd integration/firestore; yarn pretest && yarn test)
yarn run v1.2.1
$ gulp build
[16:44:34] Using gulpfile ~/GitHub/Firebase/firebase-js-sdk/packages/firebase/gulpfile.js
[16:44:34] Starting 'build'...
[16:44:34] Starting '<anonymous>'...
[16:44:48] Version: webpack 3.8.1
Child
Asset Size Chunks Chunk Names
firebase-messaging.js.map 152 kB 3 [emitted] firebase-messaging
firebase-database.js 178 kB 0 [emitted] firebase-database
firebase-storage.js 33.7 kB 2 [emitted] firebase-storage
firebase-messaging.js 18.5 kB 3 [emitted] firebase-messaging
firebase-auth.js 137 kB 4 [emitted] firebase-auth
firebase-app.js 27.6 kB 5 [emitted] firebase-app
firebase-database.js.map 1.56 MB 0 [emitted] firebase-database
firebase-firestore.js.map 1.87 MB 1 [emitted] firebase-firestore
firebase-storage.js.map 314 kB 2 [emitted] firebase-storage
firebase-firestore.js 266 kB 1 [emitted] [big] firebase-firestore
firebase-auth.js.map 458 kB 4 [emitted] firebase-auth
firebase-app.js.map 270 kB 5 [emitted] firebase-app
firebase-messaging.js.gz 5.67 kB [emitted]
firebase-storage.js.gz 10.5 kB [emitted]
firebase-app.js.gz 9.29 kB [emitted]
firebase-database.js.gz 47.1 kB [emitted]
firebase-auth.js.gz 44.4 kB [emitted]
firebase-firestore.js.gz 70 kB [emitted]
[16:44:48] Finished '<anonymous>' after 15 s
[16:44:48] Starting 'concatFiles'...
[16:44:49] Finished 'concatFiles' after 334 ms
[16:44:49] Finished 'build' after 15 s
✨ Done in 15.95s.
yarn run v1.2.1
$ gulp build
[16:44:50] Using gulpfile ~/GitHub/Firebase/firebase-js-sdk/packages/firestore/gulpfile.js
[16:44:50] Starting 'build'...
[16:44:50] Starting 'buildCjsBundle'...
[16:44:50] Starting 'buildEsmBundle'...
/Users/mrschmidt/GitHub/Firebase/firebase-js-sdk/packages/firestore/node_modules/@types/chai/index.d.ts(40,17): error TS2300: Duplicate identifier 'Operator'.
/Users/mrschmidt/GitHub/Firebase/firebase-js-sdk/packages/firestore/node_modules/@types/chai/index.d.ts(42,17): error TS2300: Duplicate identifier 'OperatorComparable'.
/Users/mrschmidt/GitHub/Firebase/firebase-js-sdk/packages/firestore/node_modules/@types/chai/index.d.ts(1382,18): error TS2300: Duplicate identifier 'AssertionError'.
/Users/mrschmidt/GitHub/Firebase/firebase-js-sdk/packages/firestore/node_modules/@types/chai/index.d.ts(1391,15): error TS2451: Cannot redeclare block-scoped variable 'chai'.
/Users/mrschmidt/GitHub/Firebase/firebase-js-sdk/packages/firestore/node_modules/@types/chai/index.d.ts(1394,5): error TS2300: Duplicate identifier 'export='.
[16:44:57] TypeScript: 5 semantic errors
[16:44:57] TypeScript: emit succeeded (with errors)
/Users/mrschmidt/GitHub/Firebase/firebase-js-sdk/packages/firestore/node_modules/@types/chai/index.d.ts(40,17): error TS2300: Duplicate identifier 'Operator'.
/Users/mrschmidt/GitHub/Firebase/firebase-js-sdk/packages/firestore/node_modules/@types/chai/index.d.ts(42,17): error TS2300: Duplicate identifier 'OperatorComparable'.
/Users/mrschmidt/GitHub/Firebase/firebase-js-sdk/packages/firestore/node_modules/@types/chai/index.d.ts(1382,18): error TS2300: Duplicate identifier 'AssertionError'.
/Users/mrschmidt/GitHub/Firebase/firebase-js-sdk/packages/firestore/node_modules/@types/chai/index.d.ts(1391,15): error TS2451: Cannot redeclare block-scoped variable 'chai'.
/Users/mrschmidt/GitHub/Firebase/firebase-js-sdk/packages/firestore/node_modules/@types/chai/index.d.ts(1394,5): error TS2300: Duplicate identifier 'export='.
[16:45:02] TypeScript: 5 semantic errors
[16:45:02] TypeScript: emit succeeded (with errors)
[16:45:02] Finished 'buildEsmBundle' after 12 s
[16:45:02] Finished 'buildCjsBundle' after 12 s
[16:45:02] Finished 'build' after 12 s
✨ Done in 13.01s.
yarn run v1.2.1
$ gulp compile-tests
[16:45:04] Using gulpfile ~/GitHub/Firebase/firebase-js-sdk/integration/firestore/gulpfile.js
[16:45:04] Starting 'compile-tests'...
[16:45:04] Starting 'reworkFirebasePaths'...
[16:45:05] Finished 'reworkFirebasePaths' after 1.41 s
[16:45:05] Starting 'compileWebpack'...
[16:45:16] Version: webpack 3.8.1
Asset Size Chunks Chunk Names
temp/src/util/async_observer.d.ts 1.05 kB [emitted]
test-harness.js 4.25 MB 0 [emitted] [big] main
temp/index.d.ts 110 bytes [emitted]
temp/src/api/blob.d.ts 898 bytes [emitted]
temp/src/api/credentials.d.ts 5.21 kB [emitted]
temp/src/api/database.d.ts 10.5 kB [emitted]
temp/src/api/field_path.d.ts 1.87 kB [emitted]
temp/src/api/field_value.d.ts 1.37 kB [emitted]
temp/src/api/geo_point.d.ts 863 bytes [emitted]
temp/src/api/observer.d.ts 1.05 kB [emitted]
temp/src/api/user_data_converter.d.ts 4.25 kB [emitted]
temp/src/auth/user.d.ts 1.15 kB [emitted]
temp/src/core/database_info.d.ts 1.01 kB [emitted]
temp/src/core/event_manager.d.ts 2.98 kB [emitted]
temp/src/core/firestore_client.d.ts 6.73 kB [emitted]
temp/src/core/query.d.ts 5.45 kB [emitted]
temp/src/core/snapshot_version.d.ts 1.32 kB [emitted]
temp/src/core/sync_engine.d.ts 5.92 kB [emitted]
temp/src/core/target_id_generator.d.ts 1.32 kB [emitted]
temp/src/core/timestamp.d.ts 491 bytes [emitted]
temp/src/core/transaction.d.ts 1.77 kB [emitted]
temp/src/core/types.d.ts 1.76 kB [emitted]
temp/src/core/version.d.ts 97 bytes [emitted]
temp/src/core/view_snapshot.d.ts 1.56 kB [emitted]
temp/src/core/view.d.ts 4.4 kB [emitted]
temp/src/local/eager_garbage_collector.d.ts 2.13 kB [emitted]
temp/src/local/encoded_resource_path.d.ts 4.02 kB [emitted]
temp/src/local/garbage_collector.d.ts 3.21 kB [emitted]
temp/src/local/garbage_source.d.ts 1.83 kB [emitted]
temp/src/local/indexeddb_mutation_queue.d.ts 4.89 kB [emitted]
temp/src/local/indexeddb_persistence.d.ts 6.25 kB [emitted]
temp/src/local/indexeddb_query_cache.d.ts 2.38 kB [emitted]
temp/src/local/indexeddb_remote_document_cache.d.ts 1.62 kB [emitted]
temp/src/local/indexeddb_schema.d.ts 19.7 kB [emitted]
temp/src/local/local_documents_view.d.ts 3.37 kB [emitted]
temp/src/local/local_serializer.d.ts 1.23 kB [emitted]
temp/src/local/local_store.d.ts 10.8 kB [emitted]
temp/src/local/local_view_changes.d.ts 1.29 kB [emitted]
temp/src/local/memory_mutation_queue.d.ts 5.35 kB [emitted]
temp/src/local/memory_persistence.d.ts 1.88 kB [emitted]
temp/src/local/memory_query_cache.d.ts 2.79 kB [emitted]
temp/src/local/memory_remote_document_cache.d.ts 1.51 kB [emitted]
temp/src/local/mutation_queue.d.ts 6.8 kB [emitted]
temp/src/local/no_op_garbage_collector.d.ts 1.48 kB [emitted]
temp/src/local/persistence_promise.d.ts 1.85 kB [emitted]
temp/src/local/persistence.d.ts 5.61 kB [emitted]
temp/src/local/query_cache.d.ts 4.36 kB [emitted]
temp/src/local/query_data.d.ts 3.11 kB [emitted]
temp/src/local/reference_set.d.ts 3.4 kB [emitted]
temp/src/local/remote_document_cache.d.ts 2.75 kB [emitted]
temp/src/local/remote_document_change_buffer.d.ts 2.04 kB [emitted]
temp/src/local/simple_db.d.ts 6.48 kB [emitted]
temp/src/model/collections.d.ts 1.5 kB [emitted]
temp/src/model/document_comparator.d.ts 796 bytes [emitted]
temp/src/model/document_key.d.ts 913 bytes [emitted]
temp/src/model/document_set.d.ts 1.78 kB [emitted]
temp/src/model/document.d.ts 2.22 kB [emitted]
temp/src/model/field_value.d.ts 7.04 kB [emitted]
temp/src/model/mutation_batch.d.ts 3.5 kB [emitted]
temp/src/model/mutation.d.ts 12.6 kB [emitted]
temp/src/model/path.d.ts 2.81 kB [emitted]
temp/src/platform/config.d.ts 505 bytes [emitted]
temp/src/platform/platform.d.ts 2.02 kB [emitted]
temp/src/platform/config/goog_module_config.d.ts 0 bytes [emitted]
temp/src/platform_browser/browser_init.d.ts 0 bytes [emitted]
temp/src/platform_browser/browser_platform.d.ts 1.18 kB [emitted]
temp/src/platform_browser/webchannel_connection.d.ts 1.05 kB [emitted]
temp/src/platform_mock_node/mock_init.d.ts 0 bytes [emitted]
temp/src/platform_mock_node/mock_platform.d.ts 1.25 kB [emitted]
temp/src/platform_node/grpc_connection.d.ts 737 bytes [emitted]
temp/src/platform_node/load_protos.d.ts 648 bytes [emitted]
temp/src/platform_node/node_init.d.ts 0 bytes [emitted]
temp/src/platform_node/node_platform.d.ts 1.16 kB [emitted]
temp/src/remote/backoff.d.ts 2.55 kB [emitted]
temp/src/remote/connection.d.ts 2.59 kB [emitted]
temp/src/remote/datastore.d.ts 1.41 kB [emitted]
temp/src/remote/existence_filter.d.ts 731 bytes [emitted]
temp/src/remote/persistent_stream.d.ts 11.4 kB [emitted]
temp/src/remote/remote_event.d.ts 4.7 kB [emitted]
temp/src/remote/remote_store.d.ts 8.23 kB [emitted]
temp/src/remote/remote_syncer.d.ts 2.45 kB [emitted]
temp/src/remote/rpc_error.d.ts 1.16 kB [emitted]
temp/src/remote/serializer.d.ts 6.77 kB [emitted]
temp/src/remote/stream_bridge.d.ts 905 bytes [emitted]
temp/src/remote/watch_change.d.ts 6.21 kB [emitted]
temp/src/util/api.d.ts 537 bytes [emitted]
temp/src/util/array.d.ts 1.45 kB [emitted]
temp/src/util/assert.d.ts 432 bytes [emitted]
temp/index.node.d.ts 104 bytes [emitted]
temp/src/util/async_queue.d.ts 1.06 kB [emitted]
temp/src/util/error.d.ts 2.17 kB [emitted]
temp/src/util/input_validation.d.ts 3.59 kB [emitted]
temp/src/util/log.d.ts 370 bytes [emitted]
temp/src/util/misc.d.ts 1.66 kB [emitted]
temp/src/util/node_api.d.ts 2.07 kB [emitted]
temp/src/util/obj_map.d.ts 1.84 kB [emitted]
temp/src/util/obj.d.ts 866 bytes [emitted]
temp/src/util/promise.d.ts 701 bytes [emitted]
temp/src/util/sorted_map.d.ts 3.78 kB [emitted]
temp/src/util/sorted_set.d.ts 2.13 kB [emitted]
temp/src/util/types.d.ts 1.66 kB [emitted]
temp/test/integration/bootstrap.d.ts 644 bytes [emitted]
temp/test/integration/api/batch_writes.test.d.ts 0 bytes [emitted]
temp/test/integration/api/cursor.test.d.ts 0 bytes [emitted]
temp/test/integration/api/database.test.d.ts 0 bytes [emitted]
temp/test/integration/api/fields.test.d.ts 0 bytes [emitted]
temp/test/integration/api/query.test.d.ts 0 bytes [emitted]
temp/test/integration/api/server_timestamp.test.d.ts 0 bytes [emitted]
temp/test/integration/api/smoke.test.d.ts 0 bytes [emitted]
temp/test/integration/api/transactions.test.d.ts 0 bytes [emitted]
temp/test/integration/api/type.test.d.ts 0 bytes [emitted]
temp/test/integration/api/validation.test.d.ts 0 bytes [emitted]
temp/test/integration/browser/indexeddb.test.d.ts 0 bytes [emitted]
temp/test/integration/browser/webchannel.test.d.ts 0 bytes [emitted]
temp/test/integration/remote/remote.test.d.ts 0 bytes [emitted]
temp/test/integration/remote/stream.test.d.ts 0 bytes [emitted]
temp/test/integration/util/firebase_export.d.ts 79 bytes [emitted]
temp/test/integration/util/helpers.d.ts 2.66 kB [emitted]
temp/test/integration/util/test_queue.d.ts 1.34 kB [emitted]
temp/test/unit/bootstrap.d.ts 644 bytes [emitted]
temp/test/unit/api/blob.test.d.ts 0 bytes [emitted]
temp/test/unit/api/document_change.test.d.ts 0 bytes [emitted]
temp/test/unit/api/geo_point.test.d.ts 0 bytes [emitted]
temp/test/unit/core/event_manager.test.d.ts 0 bytes [emitted]
temp/test/unit/core/query.test.d.ts 0 bytes [emitted]
temp/test/unit/core/target_id_generator.test.d.ts 0 bytes [emitted]
temp/test/unit/core/timestamp.test.d.ts 0 bytes [emitted]
temp/test/unit/core/view.test.d.ts 0 bytes [emitted]
temp/test/unit/local/eager_garbage_collector.test.d.ts 0 bytes [emitted]
temp/test/unit/local/encoded_resource_path.test.d.ts 0 bytes [emitted]
temp/test/unit/local/local_store.test.d.ts 0 bytes [emitted]
temp/test/unit/local/mutation_queue.test.d.ts 0 bytes [emitted]
temp/test/unit/local/persistence_promise.test.d.ts 0 bytes [emitted]
temp/test/unit/local/persistence_test_helpers.d.ts 513 bytes [emitted]
temp/test/unit/local/query_cache.test.d.ts 0 bytes [emitted]
temp/test/unit/local/reference_set.test.d.ts 0 bytes [emitted]
temp/test/unit/local/remote_document_cache.test.d.ts 0 bytes [emitted]
temp/test/unit/local/remote_document_change_buffer.test.d.ts 0 bytes [emitted]
temp/test/unit/local/simple_db.test.d.ts 0 bytes [emitted]
temp/test/unit/local/test_garbage_collector.d.ts 1.15 kB [emitted]
temp/test/unit/local/test_mutation_queue.d.ts 2.54 kB [emitted]
temp/test/unit/local/test_query_cache.d.ts 2.02 kB [emitted]
temp/test/unit/local/test_remote_document_cache.d.ts 1.55 kB [emitted]
temp/test/unit/local/test_remote_document_change_buffer.d.ts 1.38 kB [emitted]
temp/test/unit/model/document_set.test.d.ts 0 bytes [emitted]
temp/test/unit/model/document.test.d.ts 0 bytes [emitted]
temp/test/unit/model/field_value.test.d.ts 0 bytes [emitted]
temp/test/unit/model/mutation.test.d.ts 0 bytes [emitted]
temp/test/unit/model/path.test.d.ts 0 bytes [emitted]
temp/test/unit/platform/platform.test.d.ts 0 bytes [emitted]
temp/test/unit/remote/remote_event.test.d.ts 0 bytes [emitted]
temp/test/unit/remote/node/serializer.test.d.ts 0 bytes [emitted]
temp/test/unit/specs/collection_spec.test.d.ts 0 bytes [emitted]
temp/test/unit/specs/describe_spec.d.ts 1.32 kB [emitted]
temp/test/unit/specs/existence_filter_spec.test.d.ts 0 bytes [emitted]
temp/test/unit/specs/limbo_spec.test.d.ts 0 bytes [emitted]
temp/test/unit/specs/limit_spec.test.d.ts 0 bytes [emitted]
temp/test/unit/specs/listen_spec.test.d.ts 0 bytes [emitted]
temp/test/unit/specs/offline_spec.test.d.ts 0 bytes [emitted]
temp/test/unit/specs/orderby_spec.test.d.ts 0 bytes [emitted]
temp/test/unit/specs/persistence_spec.test.d.ts 0 bytes [emitted]
temp/test/unit/specs/remote_store_spec.test.d.ts 0 bytes [emitted]
temp/test/unit/specs/resume_token_spec.test.d.ts 0 bytes [emitted]
temp/test/unit/specs/spec_builder.d.ts 4.97 kB [emitted]
temp/test/unit/specs/spec_rpc_error.d.ts 214 bytes [emitted]
temp/test/unit/specs/spec_test_runner.d.ts 6.25 kB [emitted]
temp/test/unit/specs/write_spec.test.d.ts 0 bytes [emitted]
temp/test/unit/util/api.test.d.ts 0 bytes [emitted]
temp/test/unit/util/async_queue.test.d.ts 0 bytes [emitted]
temp/test/unit/util/misc.test.d.ts 0 bytes [emitted]
temp/test/unit/util/node_api.test.d.ts 0 bytes [emitted]
temp/test/unit/util/obj_map.test.d.ts 0 bytes [emitted]
temp/test/unit/util/sorted_map.test.d.ts 0 bytes [emitted]
temp/test/unit/util/sorted_set.test.d.ts 0 bytes [emitted]
temp/test/util/equality_matcher.d.ts 52 bytes [emitted]
temp/test/util/helpers.d.ts 8.4 kB [emitted]
[16:45:16] Finished 'compileWebpack' after 11 s
[16:45:16] Finished 'compile-tests' after 12 s
✨ Done in 13.26s.
yarn run v1.2.1
$ gulp compile-tests
[16:45:18] Using gulpfile ~/GitHub/Firebase/firebase-js-sdk/integration/firestore/gulpfile.js
[16:45:18] Starting 'compile-tests'...
[16:45:18] Starting 'reworkFirebasePaths'...
[16:45:19] Finished 'reworkFirebasePaths' after 1.5 s
[16:45:19] Starting 'compileWebpack'...
[16:45:30] Version: webpack 3.8.1
Asset Size Chunks Chunk Names
temp/src/util/async_observer.d.ts 1.05 kB [emitted]
test-harness.js 4.25 MB 0 [emitted] [big] main
temp/index.d.ts 110 bytes [emitted]
temp/src/api/blob.d.ts 898 bytes [emitted]
temp/src/api/credentials.d.ts 5.21 kB [emitted]
temp/src/api/database.d.ts 10.5 kB [emitted]
temp/src/api/field_path.d.ts 1.87 kB [emitted]
temp/src/api/field_value.d.ts 1.37 kB [emitted]
temp/src/api/geo_point.d.ts 863 bytes [emitted]
temp/src/api/observer.d.ts 1.05 kB [emitted]
temp/src/api/user_data_converter.d.ts 4.25 kB [emitted]
temp/src/auth/user.d.ts 1.15 kB [emitted]
temp/src/core/database_info.d.ts 1.01 kB [emitted]
temp/src/core/event_manager.d.ts 2.98 kB [emitted]
temp/src/core/firestore_client.d.ts 6.73 kB [emitted]
temp/src/core/query.d.ts 5.45 kB [emitted]
temp/src/core/snapshot_version.d.ts 1.32 kB [emitted]
temp/src/core/sync_engine.d.ts 5.92 kB [emitted]
temp/src/core/target_id_generator.d.ts 1.32 kB [emitted]
temp/src/core/timestamp.d.ts 491 bytes [emitted]
temp/src/core/transaction.d.ts 1.77 kB [emitted]
temp/src/core/types.d.ts 1.76 kB [emitted]
temp/src/core/version.d.ts 97 bytes [emitted]
temp/src/core/view_snapshot.d.ts 1.56 kB [emitted]
temp/src/core/view.d.ts 4.4 kB [emitted]
temp/src/local/eager_garbage_collector.d.ts 2.13 kB [emitted]
temp/src/local/encoded_resource_path.d.ts 4.02 kB [emitted]
temp/src/local/garbage_collector.d.ts 3.21 kB [emitted]
temp/src/local/garbage_source.d.ts 1.83 kB [emitted]
temp/src/local/indexeddb_mutation_queue.d.ts 4.89 kB [emitted]
temp/src/local/indexeddb_persistence.d.ts 6.25 kB [emitted]
temp/src/local/indexeddb_query_cache.d.ts 2.38 kB [emitted]
temp/src/local/indexeddb_remote_document_cache.d.ts 1.62 kB [emitted]
temp/src/local/indexeddb_schema.d.ts 19.7 kB [emitted]
temp/src/local/local_documents_view.d.ts 3.37 kB [emitted]
temp/src/local/local_serializer.d.ts 1.23 kB [emitted]
temp/src/local/local_store.d.ts 10.8 kB [emitted]
temp/src/local/local_view_changes.d.ts 1.29 kB [emitted]
temp/src/local/memory_mutation_queue.d.ts 5.35 kB [emitted]
temp/src/local/memory_persistence.d.ts 1.88 kB [emitted]
temp/src/local/memory_query_cache.d.ts 2.79 kB [emitted]
temp/src/local/memory_remote_document_cache.d.ts 1.51 kB [emitted]
temp/src/local/mutation_queue.d.ts 6.8 kB [emitted]
temp/src/local/no_op_garbage_collector.d.ts 1.48 kB [emitted]
temp/src/local/persistence_promise.d.ts 1.85 kB [emitted]
temp/src/local/persistence.d.ts 5.61 kB [emitted]
temp/src/local/query_cache.d.ts 4.36 kB [emitted]
temp/src/local/query_data.d.ts 3.11 kB [emitted]
temp/src/local/reference_set.d.ts 3.4 kB [emitted]
temp/src/local/remote_document_cache.d.ts 2.75 kB [emitted]
temp/src/local/remote_document_change_buffer.d.ts 2.04 kB [emitted]
temp/src/local/simple_db.d.ts 6.48 kB [emitted]
temp/src/model/collections.d.ts 1.5 kB [emitted]
temp/src/model/document_comparator.d.ts 796 bytes [emitted]
temp/src/model/document_key.d.ts 913 bytes [emitted]
temp/src/model/document_set.d.ts 1.78 kB [emitted]
temp/src/model/document.d.ts 2.22 kB [emitted]
temp/src/model/field_value.d.ts 7.04 kB [emitted]
temp/src/model/mutation_batch.d.ts 3.5 kB [emitted]
temp/src/model/mutation.d.ts 12.6 kB [emitted]
temp/src/model/path.d.ts 2.81 kB [emitted]
temp/src/platform/config.d.ts 505 bytes [emitted]
temp/src/platform/platform.d.ts 2.02 kB [emitted]
temp/src/platform/config/goog_module_config.d.ts 0 bytes [emitted]
temp/src/platform_browser/browser_init.d.ts 0 bytes [emitted]
temp/src/platform_browser/browser_platform.d.ts 1.18 kB [emitted]
temp/src/platform_browser/webchannel_connection.d.ts 1.05 kB [emitted]
temp/src/platform_mock_node/mock_init.d.ts 0 bytes [emitted]
temp/src/platform_mock_node/mock_platform.d.ts 1.25 kB [emitted]
temp/src/platform_node/grpc_connection.d.ts 737 bytes [emitted]
temp/src/platform_node/load_protos.d.ts 648 bytes [emitted]
temp/src/platform_node/node_init.d.ts 0 bytes [emitted]
temp/src/platform_node/node_platform.d.ts 1.16 kB [emitted]
temp/src/remote/backoff.d.ts 2.55 kB [emitted]
temp/src/remote/connection.d.ts 2.59 kB [emitted]
temp/src/remote/datastore.d.ts 1.41 kB [emitted]
temp/src/remote/existence_filter.d.ts 731 bytes [emitted]
temp/src/remote/persistent_stream.d.ts 11.4 kB [emitted]
temp/src/remote/remote_event.d.ts 4.7 kB [emitted]
temp/src/remote/remote_store.d.ts 8.23 kB [emitted]
temp/src/remote/remote_syncer.d.ts 2.45 kB [emitted]
temp/src/remote/rpc_error.d.ts 1.16 kB [emitted]
temp/src/remote/serializer.d.ts 6.77 kB [emitted]
temp/src/remote/stream_bridge.d.ts 905 bytes [emitted]
temp/src/remote/watch_change.d.ts 6.21 kB [emitted]
temp/src/util/api.d.ts 537 bytes [emitted]
temp/src/util/array.d.ts 1.45 kB [emitted]
temp/src/util/assert.d.ts 432 bytes [emitted]
temp/index.node.d.ts 104 bytes [emitted]
temp/src/util/async_queue.d.ts 1.06 kB [emitted]
temp/src/util/error.d.ts 2.17 kB [emitted]
temp/src/util/input_validation.d.ts 3.59 kB [emitted]
temp/src/util/log.d.ts 370 bytes [emitted]
temp/src/util/misc.d.ts 1.66 kB [emitted]
temp/src/util/node_api.d.ts 2.07 kB [emitted]
temp/src/util/obj_map.d.ts 1.84 kB [emitted]
temp/src/util/obj.d.ts 866 bytes [emitted]
temp/src/util/promise.d.ts 701 bytes [emitted]
temp/src/util/sorted_map.d.ts 3.78 kB [emitted]
temp/src/util/sorted_set.d.ts 2.13 kB [emitted]
temp/src/util/types.d.ts 1.66 kB [emitted]
temp/test/integration/bootstrap.d.ts 644 bytes [emitted]
temp/test/integration/api/batch_writes.test.d.ts 0 bytes [emitted]
temp/test/integration/api/cursor.test.d.ts 0 bytes [emitted]
temp/test/integration/api/database.test.d.ts 0 bytes [emitted]
temp/test/integration/api/fields.test.d.ts 0 bytes [emitted]
temp/test/integration/api/query.test.d.ts 0 bytes [emitted]
temp/test/integration/api/server_timestamp.test.d.ts 0 bytes [emitted]
temp/test/integration/api/smoke.test.d.ts 0 bytes [emitted]
temp/test/integration/api/transactions.test.d.ts 0 bytes [emitted]
temp/test/integration/api/type.test.d.ts 0 bytes [emitted]
temp/test/integration/api/validation.test.d.ts 0 bytes [emitted]
temp/test/integration/browser/indexeddb.test.d.ts 0 bytes [emitted]
temp/test/integration/browser/webchannel.test.d.ts 0 bytes [emitted]
temp/test/integration/remote/remote.test.d.ts 0 bytes [emitted]
temp/test/integration/remote/stream.test.d.ts 0 bytes [emitted]
temp/test/integration/util/firebase_export.d.ts 79 bytes [emitted]
temp/test/integration/util/helpers.d.ts 2.66 kB [emitted]
temp/test/integration/util/test_queue.d.ts 1.34 kB [emitted]
temp/test/unit/bootstrap.d.ts 644 bytes [emitted]
temp/test/unit/api/blob.test.d.ts 0 bytes [emitted]
temp/test/unit/api/document_change.test.d.ts 0 bytes [emitted]
temp/test/unit/api/geo_point.test.d.ts 0 bytes [emitted]
temp/test/unit/core/event_manager.test.d.ts 0 bytes [emitted]
temp/test/unit/core/query.test.d.ts 0 bytes [emitted]
temp/test/unit/core/target_id_generator.test.d.ts 0 bytes [emitted]
temp/test/unit/core/timestamp.test.d.ts 0 bytes [emitted]
temp/test/unit/core/view.test.d.ts 0 bytes [emitted]
temp/test/unit/local/eager_garbage_collector.test.d.ts 0 bytes [emitted]
temp/test/unit/local/encoded_resource_path.test.d.ts 0 bytes [emitted]
temp/test/unit/local/local_store.test.d.ts 0 bytes [emitted]
temp/test/unit/local/mutation_queue.test.d.ts 0 bytes [emitted]
temp/test/unit/local/persistence_promise.test.d.ts 0 bytes [emitted]
temp/test/unit/local/persistence_test_helpers.d.ts 513 bytes [emitted]
temp/test/unit/local/query_cache.test.d.ts 0 bytes [emitted]
temp/test/unit/local/reference_set.test.d.ts 0 bytes [emitted]
temp/test/unit/local/remote_document_cache.test.d.ts 0 bytes [emitted]
temp/test/unit/local/remote_document_change_buffer.test.d.ts 0 bytes [emitted]
temp/test/unit/local/simple_db.test.d.ts 0 bytes [emitted]
temp/test/unit/local/test_garbage_collector.d.ts 1.15 kB [emitted]
temp/test/unit/local/test_mutation_queue.d.ts 2.54 kB [emitted]
temp/test/unit/local/test_query_cache.d.ts 2.02 kB [emitted]
temp/test/unit/local/test_remote_document_cache.d.ts 1.55 kB [emitted]
temp/test/unit/local/test_remote_document_change_buffer.d.ts 1.38 kB [emitted]
temp/test/unit/model/document_set.test.d.ts 0 bytes [emitted]
temp/test/unit/model/document.test.d.ts 0 bytes [emitted]
temp/test/unit/model/field_value.test.d.ts 0 bytes [emitted]
temp/test/unit/model/mutation.test.d.ts 0 bytes [emitted]
temp/test/unit/model/path.test.d.ts 0 bytes [emitted]
temp/test/unit/platform/platform.test.d.ts 0 bytes [emitted]
temp/test/unit/remote/remote_event.test.d.ts 0 bytes [emitted]
temp/test/unit/remote/node/serializer.test.d.ts 0 bytes [emitted]
temp/test/unit/specs/collection_spec.test.d.ts 0 bytes [emitted]
temp/test/unit/specs/describe_spec.d.ts 1.32 kB [emitted]
temp/test/unit/specs/existence_filter_spec.test.d.ts 0 bytes [emitted]
temp/test/unit/specs/limbo_spec.test.d.ts 0 bytes [emitted]
temp/test/unit/specs/limit_spec.test.d.ts 0 bytes [emitted]
temp/test/unit/specs/listen_spec.test.d.ts 0 bytes [emitted]
temp/test/unit/specs/offline_spec.test.d.ts 0 bytes [emitted]
temp/test/unit/specs/orderby_spec.test.d.ts 0 bytes [emitted]
temp/test/unit/specs/persistence_spec.test.d.ts 0 bytes [emitted]
temp/test/unit/specs/remote_store_spec.test.d.ts 0 bytes [emitted]
temp/test/unit/specs/resume_token_spec.test.d.ts 0 bytes [emitted]
temp/test/unit/specs/spec_builder.d.ts 4.97 kB [emitted]
temp/test/unit/specs/spec_rpc_error.d.ts 214 bytes [emitted]
temp/test/unit/specs/spec_test_runner.d.ts 6.25 kB [emitted]
temp/test/unit/specs/write_spec.test.d.ts 0 bytes [emitted]
temp/test/unit/util/api.test.d.ts 0 bytes [emitted]
temp/test/unit/util/async_queue.test.d.ts 0 bytes [emitted]
temp/test/unit/util/misc.test.d.ts 0 bytes [emitted]
temp/test/unit/util/node_api.test.d.ts 0 bytes [emitted]
temp/test/unit/util/obj_map.test.d.ts 0 bytes [emitted]
temp/test/unit/util/sorted_map.test.d.ts 0 bytes [emitted]
temp/test/unit/util/sorted_set.test.d.ts 0 bytes [emitted]
temp/test/util/equality_matcher.d.ts 52 bytes [emitted]
temp/test/util/helpers.d.ts 8.4 kB [emitted]
[16:45:30] Finished 'compileWebpack' after 11 s
[16:45:30] Finished 'compile-tests' after 12 s
$ karma start --single-run
02 11 2017 16:45:32.448:INFO [karma]: Karma v1.7.1 server started at http://0.0.0.0:8089/
02 11 2017 16:45:32.450:INFO [launcher]: Launching browser ChromeHeadless with unlimited concurrency
02 11 2017 16:45:32.455:INFO [launcher]: Starting browser ChromeHeadless
02 11 2017 16:45:32.866:INFO [HeadlessChrome 0.0.0 (Mac OS X 10.12.6)]: Connected on socket -w9DIubQwpQhHlavAAAA with id 37998924
(Persistence=false) Database batch writes
✓ support empty batches
✓ can set documents
✓ can set documents with merge
✓ can update documents
✓ can delete documents
✓ commit atomically, raising correct events
✓ fail atomically, raising correct events
✓ write the same server timestamp across writes
✓ can write the same document multiple times
✓ can update nested fields
(Persistence=true) Database batch writes
✓ support empty batches
✓ can set documents
✓ can set documents with merge
✓ can update documents
✓ can delete documents
✓ commit atomically, raising correct events
✓ fail atomically, raising correct events
✓ write the same server timestamp across writes
✓ can write the same document multiple times
✓ can update nested fields
(Persistence=false) Cursors
✓ can page through items
✓ can be created from documents
✓ can be created from values
✓ can be created using document id
✓ can be used with reference values
✓ can be used in descending queries
(Persistence=true) Cursors
✓ can page through items
✓ can be created from documents
✓ can be created from values
✓ can be created using document id
✓ can be used with reference values
✓ can be used in descending queries
(Persistence=false) Database
✓ can set a document
✓ doc() will auto generate an ID
✓ can delete a document
✓ can update existing document
✓ can merge data with an existing document using set
✓ can merge server timestamps
✓ can delete field using merge
✓ can replace an array by merging using set
✓ cannot update nonexistent document
✓ can delete a field with an update
✓ can update nested fields
✓ CollectionRef.add() resolves with resulting DocumentRef.
✓ Listen can be called multiple times
✓ Local document events are fired with hasLocalChanges=true.
✓ Metadata only changes are not fired when no options provided
✓ exposes "firestore" on document references.
✓ exposes "firestore" on query references.
✓ can compare DocumentReference instances with isEqual().
✓ can compare Query instances with isEqual().
✓ can traverse collections and documents.
✓ can traverse collection and document parents.
✓ can queue writes while offline
✓ can get documents while offline
✓ can write document after idle timeout
✓ can watch documents after idle timeout
documents:
✓ set/update should reject: undefined
✓ set/update should reject: null
✓ set/update should reject: 0
✓ set/update should reject: foo
✓ set/update should reject: a
✓ set/update should reject: Thu Nov 02 2017 16:45:33 GMT-0700 (PDT)
(Persistence=false) Queries are validated client-side
✓ same inequality fields works
✓ inequality and equality on different fields works
✓ inequality same as orderBy works.
✓ inequality same as first orderBy works.
(Persistence=true) Queries are validated client-side
✓ same inequality fields works
✓ inequality and equality on different fields works
✓ inequality same as orderBy works.
✓ inequality same as first orderBy works.
Listens are rejected remotely:
- will reject listens
- will reject same listens twice in a row
- will reject gets
- will reject gets twice in a row
(Persistence=true) Database
✓ can set a document
✓ doc() will auto generate an ID
✓ can delete a document
✓ can update existing document
✓ can merge data with an existing document using set
✓ can merge server timestamps
✓ can delete field using merge
✓ can replace an array by merging using set
✓ cannot update nonexistent document
✓ can delete a field with an update
✓ can update nested fields
✓ CollectionRef.add() resolves with resulting DocumentRef.
✓ Listen can be called multiple times
✓ Local document events are fired with hasLocalChanges=true.
✓ Metadata only changes are not fired when no options provided
✓ exposes "firestore" on document references.
✓ exposes "firestore" on query references.
✓ can compare DocumentReference instances with isEqual().
✓ can compare Query instances with isEqual().
✓ can traverse collections and documents.
✓ can traverse collection and document parents.
✓ can queue writes while offline
✓ can get documents while offline
ERROR LOG: 'Firestore (4.6.0) 2017-11-02T23:46:24.650Z: INTERNAL UNHANDLED ERROR: ', 'FirebaseError: There is another tab open with offline persistence enabled. Only one such tab is allowed at a time. The other tab must be closed or persistence must be disabled.
at new FirestoreError (webpack-internal:///1:151:28)
at eval (webpack-internal:///142:203:42)
at eval (webpack-internal:///11:112:63)
at PersistencePromise.wrapUserFunction (webpack-internal:///11:98:26)
at PersistencePromise.wrapSuccess (webpack-internal:///11:112:25)
at PersistencePromise._this.nextCallback (webpack-internal:///11:82:27)
at PersistencePromise._this.isDone (webpack-internal:///11:52:23)
at eval (webpack-internal:///11:112:63)
at PersistencePromise.wrapUserFunction (webpack-internal:///11:98:26)
at PersistencePromise.wrapSuccess (webpack-internal:///11:112:25)'
✓ can write document after idle timeout
✓ can watch documents after idle timeout
documents:
✓ set/update should reject: undefined
✓ set/update should reject: null
✓ set/update should reject: 0
✓ set/update should reject: foo
✓ set/update should reject: a
✓ set/update should reject: Thu Nov 02 2017 16:45:33 GMT-0700 (PDT)
(Persistence=false) Queries are validated client-side
✓ same inequality fields works
✓ inequality and equality on different fields works
✓ inequality same as orderBy works.
✓ inequality same as first orderBy works.
(Persistence=true) Queries are validated client-side
✓ same inequality fields works
✓ inequality and equality on different fields works
✓ inequality same as orderBy works.
✓ inequality same as first orderBy works.
Listens are rejected remotely:
- will reject listens
- will reject same listens twice in a row
- will reject gets
- will reject gets twice in a row
(Persistence=false) Nested Fields
✓ can be written with set()
✓ can be read directly with .get(<string>)
✓ can be read directly with .get(<FieldPath>)
✓ can be updated with update(<string>)
✓ can be updated with update(<FieldPath>)
✓ can be used with query.where(<string>).
✓ can be used with query.where(<FieldPath>).
✓ can be used with query.orderBy(<string>).
✓ can be used with query.orderBy(<FieldPath>).
(Persistence=true) Nested Fields
✓ can be written with set()
✓ can be read directly with .get(<string>)
✓ can be read directly with .get(<FieldPath>)
✓ can be updated with update(<string>)
✓ can be updated with update(<FieldPath>)
✓ can be used with query.where(<string>).
✓ can be used with query.where(<FieldPath>).
✓ can be used with query.orderBy(<string>).
✓ can be used with query.orderBy(<FieldPath>).
(Persistence=false) Fields with special characters
✓ can be written with set()
✓ can be read directly with .data(<field>)
✓ can be updated with update()
✓ can be used in query filters.
✓ can be used in a query orderBy.
(Persistence=true) Fields with special characters
✓ can be written with set()
✓ can be read directly with .data(<field>)
✓ can be updated with update()
✓ can be used in query filters.
✓ can be used in a query orderBy.
(Persistence=false) Queries
✓ can issue limit queries
✓ can issue limit queries using descending sort order
✓ key order is descending for descending inequality
✓ can use unary filters
✓ can filter on infinity
✓ will not get metadata only updates
✓ can listen for the same query with different options
✓ can issue queries with Dates differing in milliseconds
✓ can listen for QueryMetadata changes
✓ can explicitly sort by document ID
✓ can query by document ID
✓ can query by document ID using refs
✓ can query while reconnecting to network
(Persistence=true) Queries
✓ can issue limit queries
✓ can issue limit queries using descending sort order
✓ key order is descending for descending inequality
✓ can use unary filters
✓ can filter on infinity
✓ will not get metadata only updates
✓ can listen for the same query with different options
✓ can issue queries with Dates differing in milliseconds
✓ can listen for QueryMetadata changes
✓ can explicitly sort by document ID
✓ can query by document ID
✓ can query by document ID using refs
✓ can query while reconnecting to network
(Persistence=false) Server Timestamps
✓ work via set()
✓ work via update()
✓ work via transaction set()
✓ work via transaction update()
✓ fail via update() on nonexistent document.
ERROR LOG: 'Firestore (4.6.0) 2017-11-02T23:47:07.813Z: RPC "commit" failed with status:', '404', 'response text:', '{
"error": {
"code": 404,
"message": "no entity to update: app: \"s~node-review-with-fix\"\npath \u003c\n Element {\n type: \"test-collection\"\n name: \"yJYxdrhicQci4ospH2fE\"\n }\n\u003e\n",
"status": "NOT_FOUND"
}
}
'
ERROR LOG: 'Firestore (4.6.0) 2017-11-02T23:47:07.974Z: RPC "commit" failed with status:', '404', 'response text:', '{
"error": {
"code": 404,
"message": "no entity to update: app: \"s~node-review-with-fix\"\npath \u003c\n Element {\n type: \"test-collection\"\n name: \"yJYxdrhicQci4ospH2fE\"\n }\n\u003e\n",
"status": "NOT_FOUND"
}
}
'
ERROR LOG: 'Firestore (4.6.0) 2017-11-02T23:47:08.099Z: RPC "commit" failed with status:', '404', 'response text:', '{
"error": {
"code": 404,
"message": "no entity to update: app: \"s~node-review-with-fix\"\npath \u003c\n Element {\n type: \"test-collection\"\n name: \"yJYxdrhicQci4ospH2fE\"\n }\n\u003e\n",
"status": "NOT_FOUND"
}
}
'
ERROR LOG: 'Firestore (4.6.0) 2017-11-02T23:47:08.242Z: RPC "commit" failed with status:', '404', 'response text:', '{
"error": {
"code": 404,
"message": "no entity to update: app: \"s~node-review-with-fix\"\npath \u003c\n Element {\n type: \"test-collection\"\n name: \"yJYxdrhicQci4ospH2fE\"\n }\n\u003e\n",
"status": "NOT_FOUND"
}
}
'
ERROR LOG: 'Firestore (4.6.0) 2017-11-02T23:47:08.341Z: RPC "commit" failed with status:', '404', 'response text:', '{
"error": {
"code": 404,
"message": "no entity to update: app: \"s~node-review-with-fix\"\npath \u003c\n Element {\n type: \"test-collection\"\n name: \"yJYxdrhicQci4ospH2fE\"\n }\n\u003e\n",
"status": "NOT_FOUND"
}
}
'
ERROR LOG: 'Firestore (4.6.0) 2017-11-02T23:47:08.519Z: RPC "commit" failed with status:', '404', 'response text:', '{
"error": {
"code": 404,
"message": "no entity to update: app: \"s~node-review-with-fix\"\npath \u003c\n Element {\n type: \"test-collection\"\n name: \"yJYxdrhicQci4ospH2fE\"\n }\n\u003e\n",
"status": "NOT_FOUND"
}
}
'
✓ fail via transaction update() on nonexistent document.
(Persistence=true) Server Timestamps
✓ work via set()
✓ work via update()
✓ work via transaction set()
✓ work via transaction update()
✓ fail via update() on nonexistent document.
ERROR LOG: 'Firestore (4.6.0) 2017-11-02T23:47:11.882Z: RPC "commit" failed with status:', '404', 'response text:', '{
"error": {
"code": 404,
"message": "no entity to update: app: \"s~node-review-with-fix\"\npath \u003c\n Element {\n type: \"test-collection\"\n name: \"3hcLqdr3gbjPtd1rAEIL\"\n }\n\u003e\n",
"status": "NOT_FOUND"
}
}
'
ERROR LOG: 'Firestore (4.6.0) 2017-11-02T23:47:12.066Z: RPC "commit" failed with status:', '404', 'response text:', '{
"error": {
"code": 404,
"message": "no entity to update: app: \"s~node-review-with-fix\"\npath \u003c\n Element {\n type: \"test-collection\"\n name: \"3hcLqdr3gbjPtd1rAEIL\"\n }\n\u003e\n",
"status": "NOT_FOUND"
}
}
'
ERROR LOG: 'Firestore (4.6.0) 2017-11-02T23:47:12.167Z: RPC "commit" failed with status:', '404', 'response text:', '{
"error": {
"code": 404,
"message": "no entity to update: app: \"s~node-review-with-fix\"\npath \u003c\n Element {\n type: \"test-collection\"\n name: \"3hcLqdr3gbjPtd1rAEIL\"\n }\n\u003e\n",
"status": "NOT_FOUND"
}
}
'
ERROR LOG: 'Firestore (4.6.0) 2017-11-02T23:47:12.302Z: RPC "commit" failed with status:', '404', 'response text:', '{
"error": {
"code": 404,
"message": "no entity to update: app: \"s~node-review-with-fix\"\npath \u003c\n Element {\n type: \"test-collection\"\n name: \"3hcLqdr3gbjPtd1rAEIL\"\n }\n\u003e\n",
"status": "NOT_FOUND"
}
}
'
ERROR LOG: 'Firestore (4.6.0) 2017-11-02T23:47:12.418Z: RPC "commit" failed with status:', '404', 'response text:', '{
"error": {
"code": 404,
"message": "no entity to update: app: \"s~node-review-with-fix\"\npath \u003c\n Element {\n type: \"test-collection\"\n name: \"3hcLqdr3gbjPtd1rAEIL\"\n }\n\u003e\n",
"status": "NOT_FOUND"
}
}
'
ERROR LOG: 'Firestore (4.6.0) 2017-11-02T23:47:12.554Z: RPC "commit" failed with status:', '404', 'response text:', '{
"error": {
"code": 404,
"message": "no entity to update: app: \"s~node-review-with-fix\"\npath \u003c\n Element {\n type: \"test-collection\"\n name: \"3hcLqdr3gbjPtd1rAEIL\"\n }\n\u003e\n",
"status": "NOT_FOUND"
}
}
'
✓ fail via transaction update() on nonexistent document.
(Persistence=false) Smoke Test
✓ can write a single document
✓ can read a written document
✓ can read a written document with DocumentKey
✓ will fire local and remote events
✓ will fire value events for empty collections
✓ can get collection query
- can query by field and use order by
(Persistence=true) Smoke Test
✓ can write a single document
✓ can read a written document
✓ can read a written document with DocumentKey
✓ will fire local and remote events
✓ will fire value events for empty collections
✓ can get collection query
- can query by field and use order by
(Persistence=false) Database transactions
✓ get documents
✓ delete documents
✓ get nonexistent document then create
✓ get nonexistent document then fail patch
✓ can't delete document then patch
ERROR LOG: 'Firestore (4.6.0) 2017-11-02T23:47:21.371Z: RPC "commit" failed with status:', '400', 'response text:', '{
"error": {
"code": 400,
"message": "Cannot collapse mutations with different base versions (1509666441094881 and 0)",
"status": "INVALID_ARGUMENT"
}
}
'
ERROR LOG: 'Firestore (4.6.0) 2017-11-02T23:47:21.599Z: RPC "commit" failed with status:', '400', 'response text:', '{
"error": {
"code": 400,
"message": "Cannot collapse mutations with different base versions (1509666441094881 and 0)",
"status": "INVALID_ARGUMENT"
}
}
'
ERROR LOG: 'Firestore (4.6.0) 2017-11-02T23:47:21.842Z: RPC "commit" failed with status:', '400', 'response text:', '{
"error": {
"code": 400,
"message": "Cannot collapse mutations with different base versions (1509666441094881 and 0)",
"status": "INVALID_ARGUMENT"
}
}
'
ERROR LOG: 'Firestore (4.6.0) 2017-11-02T23:47:22.070Z: RPC "commit" failed with status:', '400', 'response text:', '{
"error": {
"code": 400,
"message": "Cannot collapse mutations with different base versions (1509666441094881 and 0)",
"status": "INVALID_ARGUMENT"
}
}
'
ERROR LOG: 'Firestore (4.6.0) 2017-11-02T23:47:22.297Z: RPC "commit" failed with status:', '400', 'response text:', '{
"error": {
"code": 400,
"message": "Cannot collapse mutations with different base versions (1509666441094881 and 0)",
"status": "INVALID_ARGUMENT"
}
}
'
ERROR LOG: 'Firestore (4.6.0) 2017-11-02T23:47:22.405Z: RPC "commit" failed with status:', '400', 'response text:', '{
"error": {
"code": 400,
"message": "Cannot collapse mutations with different base versions (1509666441094881 and 0)",
"status": "INVALID_ARGUMENT"
}
}
'
✓ can't delete document then set
✓ write document twice
✓ set document with merge
ERROR LOG: 'Firestore (4.6.0) 2017-11-02T23:47:23.428Z: RPC "commit" failed with status:', '400', 'response text:', '{
"error": {
"code": 400,
"message": "the stored version (1509666443388330) does not match the required base version (1509666443241956)",
"status": "FAILED_PRECONDITION"
}
}
'
ERROR LOG: 'Firestore (4.6.0) 2017-11-02T23:47:23.431Z: RPC "commit" failed with status:', '400', 'response text:', '{
"error": {
"code": 400,
"message": "the stored version (1509666443388330) does not match the required base version (1509666443241956)",
"status": "FAILED_PRECONDITION"
}
}
'
ERROR LOG: 'Firestore (4.6.0) 2017-11-02T23:47:23.565Z: RPC "commit" failed with status:', '400', 'response text:', '{
"error": {
"code": 400,
"message": "the stored version (1509666443527220) does not match the required base version (1509666443388330)",
"status": "FAILED_PRECONDITION"
}
}
'
✓ increment transactionally
ERROR LOG: 'Firestore (4.6.0) 2017-11-02T23:47:24.332Z: RPC "commit" failed with status:', '400', 'response text:', '{
"error": {
"code": 400,
"message": "the stored version (1509666444292345) does not match the required base version (1509666444126321)",
"status": "FAILED_PRECONDITION"
}
}
'
ERROR LOG: 'Firestore (4.6.0) 2017-11-02T23:47:24.337Z: RPC "commit" failed with status:', '400', 'response text:', '{
"error": {
"code": 400,
"message": "the stored version (1509666444292345) does not match the required base version (1509666444126321)",
"status": "FAILED_PRECONDITION"
}
}
'
ERROR LOG: 'Firestore (4.6.0) 2017-11-02T23:47:24.491Z: RPC "commit" failed with status:', '400', 'response text:', '{
"error": {
"code": 400,
"message": "the stored version (1509666444453591) does not match the required base version (1509666444292345)",
"status": "FAILED_PRECONDITION"
}
}
'
✓ update transactionally
✓ can update nested fields transactionally
✓ handle reading one doc and writing another
✓ handle reading a doc twice with different versions
✓ cannot read after writing
✓ cannot have a get without mutations
✓ are successful with no transaction operations
✓ are cancelled on rejected promise
✓ are cancelled on throw
must return a promise:
✓ undefined is rejected
✓ null is rejected
✓ 5 is rejected
✓ [object Object] is rejected
✓ [object Object] is rejected
✓ [object Object] is rejected
(Persistence=true) Database transactions
✓ get documents
✓ delete documents
✓ get nonexistent document then create
✓ get nonexistent document then fail patch
✓ can't delete document then patch
ERROR LOG: 'Firestore (4.6.0) 2017-11-02T23:47:30.841Z: RPC "commit" failed with status:', '400', 'response text:', '{
"error": {
"code": 400,
"message": "Cannot collapse mutations with different base versions (1509666450679416 and 0)",
"status": "INVALID_ARGUMENT"
}
}
'
ERROR LOG: 'Firestore (4.6.0) 2017-11-02T23:47:30.947Z: RPC "commit" failed with status:', '400', 'response text:', '{
"error": {
"code": 400,
"message": "Cannot collapse mutations with different base versions (1509666450679416 and 0)",
"status": "INVALID_ARGUMENT"
}
}
'
ERROR LOG: 'Firestore (4.6.0) 2017-11-02T23:47:31.053Z: RPC "commit" failed with status:', '400', 'response text:', '{
"error": {
"code": 400,
"message": "Cannot collapse mutations with different base versions (1509666450679416 and 0)",
"status": "INVALID_ARGUMENT"
}
}
'
ERROR LOG: 'Firestore (4.6.0) 2017-11-02T23:47:31.161Z: RPC "commit" failed with status:', '400', 'response text:', '{
"error": {
"code": 400,
"message": "Cannot collapse mutations with different base versions (1509666450679416 and 0)",
"status": "INVALID_ARGUMENT"
}
}
'
ERROR LOG: 'Firestore (4.6.0) 2017-11-02T23:47:31.267Z: RPC "commit" failed with status:', '400', 'response text:', '{
"error": {
"code": 400,
"message": "Cannot collapse mutations with different base versions (1509666450679416 and 0)",
"status": "INVALID_ARGUMENT"
}
}
'
ERROR LOG: 'Firestore (4.6.0) 2017-11-02T23:47:31.371Z: RPC "commit" failed with status:', '400', 'response text:', '{
"error": {
"code": 400,
"message": "Cannot collapse mutations with different base versions (1509666450679416 and 0)",
"status": "INVALID_ARGUMENT"
}
}
'
✓ can't delete document then set
✓ write document twice
✓ set document with merge
ERROR LOG: 'Firestore (4.6.0) 2017-11-02T23:47:32.431Z: RPC "commit" failed with status:', '400', 'response text:', '{
"error": {
"code": 400,
"message": "the stored version (1509666452388056) does not match the required base version (1509666452231706)",
"status": "FAILED_PRECONDITION"
}
}
'
ERROR LOG: 'Firestore (4.6.0) 2017-11-02T23:47:32.434Z: RPC "commit" failed with status:', '400', 'response text:', '{
"error": {
"code": 400,
"message": "the stored version (1509666452388056) does not match the required base version (1509666452231706)",
"status": "FAILED_PRECONDITION"
}
}
'
ERROR LOG: 'Firestore (4.6.0) 2017-11-02T23:47:32.574Z: RPC "commit" failed with status:', '400', 'response text:', '{
"error": {
"code": 400,
"message": "the stored version (1509666452535652) does not match the required base version (1509666452388056)",
"status": "FAILED_PRECONDITION"
}
}
'
✓ increment transactionally
ERROR LOG: 'Firestore (4.6.0) 2017-11-02T23:47:33.355Z: RPC "commit" failed with status:', '400', 'response text:', '{
"error": {
"code": 400,
"message": "the stored version (1509666453315287) does not match the required base version (1509666453170098)",
"status": "FAILED_PRECONDITION"
}
}
'
ERROR LOG: 'Firestore (4.6.0) 2017-11-02T23:47:33.359Z: RPC "commit" failed with status:', '400', 'response text:', '{
"error": {
"code": 400,
"message": "the stored version (1509666453315287) does not match the required base version (1509666453170098)",
"status": "FAILED_PRECONDITION"
}
}
'
ERROR LOG: 'Firestore (4.6.0) 2017-11-02T23:47:33.495Z: RPC "commit" failed with status:', '400', 'response text:', '{
"error": {
"code": 400,
"message": "the stored version (1509666453455828) does not match the required base version (1509666453315287)",
"status": "FAILED_PRECONDITION"
}
}
'
✓ update transactionally
✓ can update nested fields transactionally
✓ handle reading one doc and writing another
✓ handle reading a doc twice with different versions
✓ cannot read after writing
✓ cannot have a get without mutations
✓ are successful with no transaction operations
✓ are cancelled on rejected promise
✓ are cancelled on throw
must return a promise:
✓ undefined is rejected
✓ null is rejected
✓ 5 is rejected
✓ [object Object] is rejected
✓ [object Object] is rejected
✓ [object Object] is rejected
(Persistence=false) Firestore
✓ can read and write null fields
✓ can read and write array fields
✓ can read and write geo point fields
✓ can read and write bytes fields
✓ can read and write timestamp fields
✓ can read and write document references
✓ can read and write document references in an array
(Persistence=true) Firestore
✓ can read and write null fields
✓ can read and write array fields
✓ can read and write geo point fields
✓ can read and write bytes fields
✓ can read and write timestamp fields
✓ can read and write document references
✓ can read and write document references in an array
(Persistence=false) Validation:
✓ Listen options are validated
✓ Batch writes require correct Document References
✓ Transaction writes require correct Document References
✓ Field paths must not have empty segments
✓ Field paths must not have invalid segments
FirestoreSettings
✓ validates options
✓ disallows changing settings after use
Firestore
✓ disallows calling enablePersistence after use
✓ throws for invalid transaction functions.
✓ fails transaction if function doesn't return a Promise.
Collection paths
✓ must be strings
✓ must be odd-length
✓ must not have empty segments
Document paths
✓ must be strings
✓ must be even-length
Writes
✓ must be objects.
✓ must not contain custom objects or functions.
✓ must not contain directly nested arrays.
✓ may contain indirectly nested arrays.
✓ must not contain undefined.
✓ must not contain references to a different database
✓ must not contain reserved field names.
✓ via set() must not contain FieldValue.delete()
✓ via update() must not contain nested FieldValue.delete()
Queries
✓ with non-positive limit fail
✓ with null or NaN inequalities fail
✓ cannot be created from documents missing sort values
✓ must not have more components than order by.
✓ order-by-key bounds must be strings without slashes.
✓ with different inequality fields fail
✓ with inequality different than first orderBy fail.
✓ must not specify starting or ending point after orderBy
✓ must be non-empty strings or references when filtering by document ID
(Persistence=true) Validation:
✓ Listen options are validated
✓ Batch writes require correct Document References
✓ Transaction writes require correct Document References
✓ Field paths must not have empty segments
✓ Field paths must not have invalid segments
FirestoreSettings
✓ validates options
✓ disallows changing settings after use
Firestore
✓ disallows calling enablePersistence after use
✓ throws for invalid transaction functions.
✓ fails transaction if function doesn't return a Promise.
Collection paths
✓ must be strings
✓ must be odd-length
✓ must not have empty segments
Document paths
✓ must be strings
✓ must be even-length
Writes
✓ must be objects.
✓ must not contain custom objects or functions.
✓ must not contain directly nested arrays.
✓ may contain indirectly nested arrays.
✓ must not contain undefined.
✓ must not contain references to a different database
✓ must not contain reserved field names.
✓ via set() must not contain FieldValue.delete()
✓ via update() must not contain nested FieldValue.delete()
Queries
✓ with non-positive limit fail
✓ with null or NaN inequalities fail
✓ cannot be created from documents missing sort values
✓ must not have more components than order by.
✓ order-by-key bounds must be strings without slashes.
✓ with different inequality fields fail
✓ with inequality different than first orderBy fail.
✓ must not specify starting or ending point after orderBy
✓ must be non-empty strings or references when filtering by document ID
WebChannel
✓ receives error messages
makeUrl
✓ includes project ID and database ID
Remote Storage
✓ can write
✓ can read
✓ can read deleted documents
Watch Stream
✓ can be stopped before handshake
Write Stream
✓ can be stopped before handshake
ERROR LOG: 'Firestore (4.6.0) 2017-11-02T23:47:50.422Z: FIRESTORE (4.6.0) INTERNAL ASSERTION FAILED: Handshake must be complete before writing mutations'
✓ can be stopped after handshake
✓ closes when idle
✓ cancels idle on write
HeadlessChrome 0.0.0 (Mac OS X 10.12.6): Executed 326 of 336 (skipped 10) SUCCESS (2 mins 19.753 secs / 2 mins 19.155 secs)
TOTAL: 326 SUCCESS
✨ Done in 155.91s.
mrschmidt@mrschmidt-macbookpro3 firebase-js-sdk (mrschmidt-closewhenidle) $
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment