6 Commits

Author SHA1 Message Date
Bryan Kendall
f88920fb5d remove request module from database helpers (#2828)
* replace request usage with apiv2

* formatting

* use special handling for non-json response

* fix database get to be more resiliant

* add database tests to client-integration

* changelog

* resolve in the else case too

* Update scripts/client-integration-tests/tests.ts

Co-authored-by: Yuchen Shi <yuchenshi@google.com>

* formatting

Co-authored-by: Yuchen Shi <yuchenshi@google.com>
2020-11-17 15:44:50 -08:00
Bryan Kendall
03050eac3e mock auth globally for tests (#2805)
* mock auth globally for tests

* remove unused method

* remove unused dep

* fix imports in integration scripts
2020-11-11 11:05:52 -08:00
Sam Stern
0cf70a0984 Fix default arguments and option when using as a module (#2723) 2020-10-21 12:31:36 -04:00
Sam Stern
9f97c402f0 Fix firebase-debug.log competition (#2494) 2020-07-27 14:12:34 -04:00
Bryan Kendall
76d0df8059 add sdkconfig test (#2130) 2020-04-13 10:20:56 -07:00
Bryan Kendall
4ea4a8f136 new functional test - client as a library (#1805)
* add new script to test using cli as a library

* run new functional test

* setting credentials before ts-node

* remove cache configuration (it's done by default)

* add test for appsList

* format scriptts

* use mocha for tests

* run formatter

* use npm script to run tests

* add current test script to actions

* add credentials

* use non-deprecated API

* move script, add helper, new test project

* formatting

* update run steps

* directly use mocha

* change flow of scripts

* ignore firebaserc in other commits

* add secret to workflow

* remove unnecessary ignore

* update ignore

* update ignore

* remove rc

* cleanup files created in tests

Co-authored-by: Sam Stern <samstern@google.com>
2020-02-25 13:06:27 -08:00