Skip to content

Commit

Permalink
update test example (#275)
Browse files Browse the repository at this point in the history
  • Loading branch information
mltbnz authored Sep 14, 2024
1 parent fd1fb25 commit 0f81dda
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ function to override any dependencies for the scope of one single test. It's as
```swift
@Test
func add() async throws {
withDependencies {
let model = withDependencies {
// 1️⃣ Override any dependencies that your feature uses.
$0.clock = .immediate
$0.date.now = Date(timeIntervalSinceReferenceDate: 1234567890)
Expand Down

0 comments on commit 0f81dda

Please sign in to comment.