Skip to content

Commit

Permalink
Added dummyTest
Browse files Browse the repository at this point in the history
  • Loading branch information
ijunaid committed Oct 28, 2024
1 parent 81dd221 commit b1313a2
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions CountlyTests/CountlyViewTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,16 @@ import XCTest

class CountlyViewTrackingTests: CountlyViewBaseTest {

// Run this test first if you are facing cache not clear or instances are not reset properly
// This is a dummy test to cover the edge case clear the cache when SDK is not initialized
func testDummy() {
let config = createBaseConfig()
config.requiresConsent = false;
config.manualSessionHandling = true;
Countly.sharedInstance().start(with: config);
Countly.sharedInstance().halt(true)
}

func testStartAndStopView() throws {
let config = createBaseConfig()
Countly.sharedInstance().start(with: config)
Expand Down

0 comments on commit b1313a2

Please sign in to comment.