Skip to content
This repository has been archived by the owner on Nov 1, 2022. It is now read-only.

Commit

Permalink
Refactor browser-state tests to not depend on browser-session.
Browse files Browse the repository at this point in the history
  • Loading branch information
pocmo committed May 7, 2021
1 parent 20616f4 commit 4739db1
Show file tree
Hide file tree
Showing 7 changed files with 518 additions and 365 deletions.
6 changes: 6 additions & 0 deletions components/browser/state/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,12 @@ android {
}
}

tasks.withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile).all {
kotlinOptions.freeCompilerArgs += [
"-Xuse-experimental=kotlinx.coroutines.ExperimentalCoroutinesApi"
]
}

dependencies {
api project(':lib-state')

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,11 @@ private fun createEngineSession(
}

store.dispatch(
EngineAction.LinkEngineSessionAction(tab.id, engineSession, skipLoading = skipLoading)
EngineAction.LinkEngineSessionAction(
tab.id,
engineSession,
skipLoading = skipLoading
)
)

return engineSession
Expand Down
Loading

0 comments on commit 4739db1

Please sign in to comment.