We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7e7b76c commit 4fc2525Copy full SHA for 4fc2525
core/src/test/kotlin/com/segment/analytics/kotlin/core/AnalyticsTests.kt
@@ -994,7 +994,10 @@ class AsyncAnalyticsTests {
994
995
private lateinit var actual: CapturingSlot<BaseEvent>
996
997
- init {
+ @BeforeEach
998
+ fun setup() {
999
+ clearPersistentStorage()
1000
+
1001
httpSemaphore = Semaphore(0)
1002
assertSemaphore = Semaphore(0)
1003
@@ -1024,13 +1027,6 @@ class AsyncAnalyticsTests {
1024
1027
assertSemaphore.release()
1025
1028
input
1026
1029
}
-
- }
1030
1031
- @BeforeEach
1032
- fun setup() {
1033
- clearPersistentStorage()
1034
analytics = Analytics(Configuration(writeKey = "123", application = "Test"))
1035
1036
0 commit comments