Commit Graph

64 Commits

Author SHA1 Message Date
Salakar 997ca112d7 [tests][firestore] DocumentReference tests - needs cleanup 2018-04-16 20:21:04 +01:00
Salakar 61aba8166e [tests][firestore] remove logging 2018-04-16 20:20:00 +01:00
Salakar f57962b018 [tests] misc 2018-04-16 19:20:00 +01:00
Salakar 710f2ef44f [tests][firestore] add settings() call to before() hook - needs calling before any firestore usage 2018-04-16 18:39:01 +01:00
Salakar 09a2db6267 [tests][firestore] add enableLogging tests 2018-04-16 18:24:11 +01:00
Salakar 016c07fa35 [tests][helpers] update log override to exclude enablePersistence warning 2018-04-16 18:05:31 +01:00
Salakar 4cd30baacb [tests][firestore] firestore.().X tests 2018-04-16 18:04:51 +01:00
Salakar 5b92ff0d71 [tests][firestore] batch() tests 2018-04-16 18:04:31 +01:00
Salakar 60634ae68e [tests][firestore] remove logging 2018-04-16 17:47:50 +01:00
Salakar 8b683f643b [tests][firestore] path tests 2018-04-16 17:45:45 +01:00
Salakar 391403a7ec [tests][firestore] transaction tests 2018-04-16 17:45:32 +01:00
Salakar ead1edff4e [tests][firestore] testDocRef helper - returns a prefixed document id ref for current test iteration 2018-04-16 17:45:01 +01:00
Salakar 25b23a1164 [tests] misc + auth tweaks 2018-04-13 15:08:09 +01:00
Salakar 47774a1a4a [tests][firestore] misc tests 2018-04-13 13:49:03 +01:00
Salakar 8abafb8cd8 [tests][firestore] tweak test helpers to allow path/doc specifying 2018-04-13 13:48:42 +01:00
Salakar 2e26858e3f [tests][crashlytics] mark crash() test as pending - sometimes flakey and breaks due to detox issue 2018-04-13 13:47:49 +01:00
Salakar f290d2eb02 [tests] misc cleanup 2018-04-13 13:46:52 +01:00
Salakar a9bb8a2bd8 [tests] move helpers require into mocha opts - makes them available in the module scope 2018-04-13 13:46:18 +01:00
Salakar c14e60017e [firestore][DocumentSnapshot] explicitly bind context on data/get methods to keep context during destructuring (includes tests) 2018-04-13 11:50:30 +01:00
Salakar ccb5f70dc1 [tests] misc 2018-04-13 11:04:40 +01:00
Salakar 01ed77904f [tests] misc switch to using the new bridge.require() utility 2018-04-13 11:00:42 +01:00
Salakar c1abfcf002 [tests] misc 2018-04-12 18:13:40 +01:00
Salakar a131209e68 [tests][firestore] remove test focus 2018-04-12 12:56:29 +01:00
Salakar a3f5b01d67 [tests][firestore] start of migrating firestore tests 2018-04-12 12:54:29 +01:00
Salakar 4f5f617de0 [tests] additional tweaks to firestore test helpers 2018-04-12 12:53:18 +01:00
Salakar 1838089684 [tests] added global.TestHelpers + firestore helpers `TestHelpers.firestore.X` 2018-04-12 08:14:17 +01:00
Salakar 85efdecb1a [tests] added global.testRunId - should be used to prevent conflicts when multiple builds/tests are running - tests need to use this e.g. someDoc = `collection-tests/${testRunId}foobar` 2018-04-12 08:13:29 +01:00
Salakar 0be999a691 [tests] misc ios proj/pods 2018-04-12 08:10:33 +01:00
Salakar 548086db7a [tests][perf] added perf() tests -> 100% coverage 2018-04-11 03:42:25 +01:00
Salakar 042b4bd736 [tests][iid] added iid() tests -> 100% coverage 2018-04-11 02:45:47 +01:00
Salakar 2382347a43 [tests][crashlytics] added crashlytics() tests -> 100% coverage 2018-04-11 02:33:21 +01:00
Salakar 3c1295131f [tests][crash] remove test focus 2018-04-11 00:16:05 +01:00
Salakar 783dcc32cf [tests][crash] added crash() logs -> 100% 2018-04-11 00:15:36 +01:00
Salakar f28e39ee42 [tests] tweak deprecation logging exclusion logic 2018-04-11 00:15:16 +01:00
Salakar 3ff1f56041 [tests] added additional coverage excludes 2018-04-09 20:53:43 +01:00
Salakar 32352a4a1e [tests] misc mocha opts 2018-04-09 20:53:25 +01:00
Salakar 4fd2e74cb2 [tests][config] add platform conditional for setDefaultsFromResource (android expects a double) 2018-04-09 20:53:06 +01:00
Salakar 88f2a7858f [tests] replace console.log so we can skip deprecation warnings during testing 2018-04-09 20:11:49 +01:00
Salakar e4bac7bb67 [tests][analytics] rewrite analytics tests - now at 100% coverage 2018-04-09 20:05:04 +01:00
Salakar feec632306 [tests][auth] more tests - coverage now > 95% 2018-04-09 19:32:41 +01:00
Salakar 53bb38c3a4 [tests][config] remove test focus - woops 2018-04-09 19:04:09 +01:00
Salakar 5b1757ec5a [tests][core] added app.toString() usage in tests 2018-04-09 19:03:27 +01:00
Salakar 5c2ea9728b [tests][firestore] misc transactions 2018-04-09 19:03:07 +01:00
Salakar 0ad00685b8 [tests] exclude utils/emitter from coverage 2018-04-09 19:02:38 +01:00
Salakar ef434a6433 [tests][config] added remote config tests 2018-04-09 19:02:15 +01:00
Salakar 623eafa0a2 [tests][analytics] added analytics tests 2018-04-09 19:01:47 +01:00
Salakar ffcb34f949 [tests][auth] added signInWithCustomToken test 2018-04-09 17:27:53 +01:00
Salakar 6500212e39 [tests] added admin sdk + jsonwebtoken 2018-04-09 17:27:23 +01:00
Salakar 7d2c102b34 [tests] firestore 2018-04-09 16:40:32 +01:00
Salakar 51103387f0 [tests] remove duplicated auth tests 2018-04-09 16:40:22 +01:00