Add tests for migration and persisted state (#2118)

* Add tests for migrate

* Add test for persisted.init

* Add legacy transform test

* Set NODE_ENV for testing

* Mock logger

* Set expo var to test
This commit is contained in:
Eric Bailey 2023-12-06 18:41:05 -06:00 committed by GitHub
parent 07fe058577
commit 818c6ae879
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 224 additions and 5 deletions

View file

@ -48,4 +48,4 @@ jobs:
run: yarn intl:build
- name: Run tests
run: |
yarn test --forceExit
NODE_ENV=test EXPO_PUBLIC_ENV=test yarn test --forceExit