ash_sqlite/documentation/how_to/test-with-sqlite.md
2023-09-22 22:52:22 -04:00

11 lines
326 B
Markdown

# Testing With Sqlite
Testing resources with SQLite generally requires passing `async?: false` to
your tests, due to `SQLite`'s limitation of having a single write transaction
open at any one time.
This should be coupled with to make sure that Ash does not spawn any tasks.
```elixir
config :ash, :disable_async?, true
```