Skip to content

Commit

Permalink
Attempt to fix tests and linter
Browse files Browse the repository at this point in the history
  • Loading branch information
jaceklyp committed Nov 26, 2024
1 parent 1fe85dc commit 2ad431f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
1 change: 1 addition & 0 deletions DuckDuckGo/AppDelegate.swift
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,7 @@ import os.log
}

// swiftlint:disable:next function_body_length
// swiftlint:disable:next cyclomatic_complexity
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {

didFinishLaunchingStartTime = CFAbsoluteTimeGetCurrent()
Expand Down
3 changes: 2 additions & 1 deletion DuckDuckGoTests/OnboardingDaxFavouritesTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,8 @@ final class OnboardingDaxFavouritesTests: XCTestCase {
voiceSearchHelper: MockVoiceSearchHelper(isSpeechRecognizerAvailable: true, voiceSearchEnabled: true),
featureFlagger: MockFeatureFlagger(),
subscriptionCookieManager: SubscriptionCookieManagerMock(),
textZoomCoordinator: MockTextZoomCoordinator()
textZoomCoordinator: MockTextZoomCoordinator(),
appDidFinishLaunchingStartTime: nil
)
let window = UIWindow(frame: UIScreen.main.bounds)
window.rootViewController = UIViewController()
Expand Down
3 changes: 2 additions & 1 deletion DuckDuckGoTests/OnboardingNavigationDelegateTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,8 @@ final class OnboardingNavigationDelegateTests: XCTestCase {
voiceSearchHelper: MockVoiceSearchHelper(isSpeechRecognizerAvailable: true, voiceSearchEnabled: true),
featureFlagger: MockFeatureFlagger(),
subscriptionCookieManager: SubscriptionCookieManagerMock(),
textZoomCoordinator: MockTextZoomCoordinator())
textZoomCoordinator: MockTextZoomCoordinator(),
appDidFinishLaunchingStartTime: nil)
let window = UIWindow(frame: UIScreen.main.bounds)
window.rootViewController = UIViewController()
window.makeKeyAndVisible()
Expand Down

0 comments on commit 2ad431f

Please sign in to comment.