Turns out the default tests created by Xcode are actually UITests. Creating a brand new test target fixed this.
Topic:
UI Frameworks
SubTopic:
SwiftUI
Tags: