Skip to content

Commit

Permalink
Fix unit tests by initializing BraveCore resource bundle for testing.
Browse files Browse the repository at this point in the history
  • Loading branch information
StephenHeaps committed Jan 10, 2025
1 parent 4d8e429 commit 3d3f0be
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ final class ScriptExecutionTests: XCTestCase {
}

override class func setUp() {
Preferences.UserScript.translate.value = false
BraveCoreMain.initializeResourceBundleForTesting()
}

@MainActor func testSiteStateListenerScript() async throws {
Expand Down

0 comments on commit 3d3f0be

Please sign in to comment.