Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,8 @@ It is also important to prepare the database in Xcode previews. This can be done
}
```

And similarly, in tests, this can be done using the `.dependency` testing trait:
And similarly, in tests, this can be done using the `.dependency` testing trait
from [DependenciesTestSupport](https://github.com/pointfreeco/swift-dependencies):

```swift
@Test(.dependency(\.defaultDatabase, try appDatabase())
Expand Down