diff --git a/README.md b/README.md index 1c58679..9e2339e 100644 --- a/README.md +++ b/README.md @@ -64,12 +64,14 @@ struct AuthenticatorMock: Authenticator { ### Using Swift Package Manager -Add to `Package.swift`: +Simply add a package to your project passing in https://github.com/EasyPackages/EasySymbol. + +In your dependency you can add this in your Package.swift: ```swift dependencies: [ .package( - url: "https://github.com/your-username/EasyMock.git", + url: "https://github.com/EasyPackages/EasyMock.git", from: "1.0.0" ) ] diff --git a/Tests/EasyMockTests/AsyncMockTests.swift b/Tests/EasyMockTests/AsyncMockTests.swift index be6c133..0ea6936 100644 --- a/Tests/EasyMockTests/AsyncMockTests.swift +++ b/Tests/EasyMockTests/AsyncMockTests.swift @@ -152,9 +152,9 @@ struct AsyncMockTests { } @Test("should wait for the configured delay before completing") - func testsynchronizeAppliesDelay() async { + func testsynchronizeAppliesDelay() async throws { let delay = 0.2 - let tolerance = 0.05 + let tolerance = 0.2 let clock = ContinuousClock() let start = clock.now let sut = makeSut() diff --git a/Tests/EasyMockTests/AsyncThrowableMockTests.swift b/Tests/EasyMockTests/AsyncThrowableMockTests.swift index 1100935..9884949 100644 --- a/Tests/EasyMockTests/AsyncThrowableMockTests.swift +++ b/Tests/EasyMockTests/AsyncThrowableMockTests.swift @@ -192,7 +192,7 @@ struct AsyncThrowableMockTests { @Test("should wait for the configured delay before completing") func testsynchronizeAppliesDelay() async throws { let delay = 0.2 - let tolerance = 0.05 + let tolerance = 0.2 let clock = ContinuousClock() let start = clock.now let sut = makeSut()