From 6c2e68897236723075c67a42a1e6e5cc142414fe Mon Sep 17 00:00:00 2001 From: Noah Kamara Date: Sat, 28 Mar 2026 22:01:00 +0100 Subject: [PATCH] Add hint to DependenciesTestSupport in test examples --- .../Documentation.docc/Articles/PreparingDatabase.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Sources/SQLiteData/Documentation.docc/Articles/PreparingDatabase.md b/Sources/SQLiteData/Documentation.docc/Articles/PreparingDatabase.md index 96e9bf86..65fb187e 100644 --- a/Sources/SQLiteData/Documentation.docc/Articles/PreparingDatabase.md +++ b/Sources/SQLiteData/Documentation.docc/Articles/PreparingDatabase.md @@ -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())