mirror of
https://github.com/ash-project/ash_sqlite.git
synced 2024-09-21 13:52:55 +12:00
11 lines
326 B
Markdown
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
|
|
```
|