Set up full input testing (#150)

* Extract main loop to something testable

* Revert "Extract main loop to something testable"

This reverts commit 35a78459698fe267933c554283212c2d06ed4bf0.

* Extract code that interacts with Google Play
We can now test our input flow as a whole

* Create some basic tests for `completed` status publishing

* Fix applying inputs
We don't want to be keeping values between runs

* Drop some redundant tests

* Create basic tests for draft rollout

* Run build

* Fix userFraction bug

* Improve readability of initialising inputs

* Fix runUpload mocking

* Migrate to github-action-ts-run-api
This commit is contained in:
Jack Boswell
2022-10-23 18:18:11 -07:00
committed by GitHub
parent 4d510d380a
commit b84eace68d
7 changed files with 901 additions and 36 deletions

View File

@@ -32,6 +32,7 @@
"@typescript-eslint/parser": "^5.36.2",
"@vercel/ncc": "^0.34.0",
"eslint": "^8.23.0",
"github-action-ts-run-api": "^2.2.2",
"jest": "^29.0.3",
"ts-jest": "^29.0.0",
"typescript": "^4.8.3"