about summary refs log tree commit diff
path: root/Makefile
diff options
context:
space:
mode:
authorEric Bailey <git@esb.lol>2023-12-06 18:41:05 -0600
committerGitHub <noreply@github.com>2023-12-06 16:41:05 -0800
commit818c6ae87957767383e3c0ea0f759e278a2930c7 (patch)
treee104da955ef2888ece9534dded6d1cc5d19a99bb /Makefile
parent07fe0585775f1c9d89399b00dc1849a6d0c5d71f (diff)
downloadvoidsky-818c6ae87957767383e3c0ea0f759e278a2930c7.tar.zst
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
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index e93b6357a..ae5a12eb8 100644
--- a/Makefile
+++ b/Makefile
@@ -14,7 +14,7 @@ build-web: ## Compile web bundle, copy to bskyweb directory
 
 .PHONY: test
 test: ## Run all tests
-	yarn test
+	NODE_ENV=test EXPO_PUBLIC_ENV=test yarn test
 
 .PHONY: lint
 lint: ## Run style checks and verify syntax