summaryrefslogtreecommitdiff
path: root/test/test_helper.exs
diff options
context:
space:
mode:
authorDawid Rycerz <dawid@rycerz.xyz>2025-03-23 17:11:39 +0100
committerDawid Rycerz <dawid@rycerz.xyz>2025-04-05 21:16:51 +0200
commit0ab2e5ba2b0631b28b5b1405559237b3913c878f (patch)
tree791cea788b0a62bc483d0041fbd0c655d2ad49e8 /test/test_helper.exs
feat: initialize Phoenix application for weather alerts
This commit sets up the initial Silmataivas project structure, including: Phoenix web framework configuration, database models for users and locations, weather polling service, notification system, Docker and deployment configurations, CI/CD pipeline setup
Diffstat (limited to 'test/test_helper.exs')
-rw-r--r--test/test_helper.exs4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/test_helper.exs b/test/test_helper.exs
new file mode 100644
index 0000000..f62be72
--- /dev/null
+++ b/test/test_helper.exs
@@ -0,0 +1,4 @@
+ExUnit.start()
+
+# Use shared sandbox mode for better concurrent test handling
+Ecto.Adapters.SQL.Sandbox.mode(Silmataivas.Repo, {:shared, self()})