Commit Graph

109 Commits

Author SHA1 Message Date
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
Salakar e0e4b8b70a [tests] rename 2018-04-09 16:07:51 +01:00
Salakar 8f6b0c35e0 [tests] update ios client config appId to new app 2018-04-09 16:04:53 +01:00
Salakar 86eb188fe8 [tests] update bridge version 2018-04-09 16:04:30 +01:00
Salakar 93323a9e40 [tests] fix coverage 2018-04-09 11:11:42 +01:00
Salakar 00cd05b9a7 [tests] auth() -> Provider tests 2018-04-09 09:41:33 +01:00
Salakar f2fe446b97 [tests] auth().currentUser tests 2018-04-09 09:37:08 +01:00
Salakar 8d40739141 [tests] misc 2018-04-09 09:32:59 +01:00
Salakar 77421480b3 [tests] auth().X tests 2018-04-09 09:32:48 +01:00
Salakar 4dba61eb19 [tests] core/app tests 2018-04-09 09:32:24 +01:00
Salakar 0c020499b9 [tests] bridge timer tests 2018-04-09 09:32:09 +01:00
Salakar 1631a03010 [bridge] misc 2018-04-03 05:20:20 +01:00
Salakar 2122554549 [bridge] import RNF from project directory directly via module alias + metro config 2018-03-30 17:09:32 +01:00
Salakar ed2efcdd48 [bridge] misc version updates 2018-03-29 23:15:03 +01:00
Salakar ae3e105d84 rename new tests directory and add to npmignore 2018-03-28 16:43:51 +01:00