Skip to content
Closed
Show file tree
Hide file tree
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
6 changes: 5 additions & 1 deletion BrowserKit/Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,11 @@ let package = Package(
.enableExperimentalFeature("StrictConcurrency")]),
.testTarget(
name: "TabDataStoreTests",
dependencies: ["TabDataStore"]),
dependencies: ["TabDataStore"],
swiftSettings: [
.enableExperimentalFeature("StrictConcurrency"),
]
),
.target(
name: "Redux",
dependencies: ["Common"],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import Foundation
import XCTest

extension XCTestCase {
// TODO: Needs group discussion on solution for warnings
func trackForMemoryLeaks(_ instance: AnyObject, file: StaticString = #filePath, line: UInt = #line) {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This will need updating pending a discussion, see: #29741 (comment)

If someone wants to pick up that work after a solution is found they can, but I can also do it when I return from PTO. This PR is opened for convenience.

addTeardownBlock { [weak instance] in
XCTAssertNil(
Expand Down
Loading