Skip to content

Commit

Permalink
Conform to TestableExtension
Browse files Browse the repository at this point in the history
  • Loading branch information
emdobrin committed Mar 12, 2022
1 parent 574befd commit 35472e5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions AEPAnalytics/Tests/TestHelper/TestableExtensionRuntime.swift
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ import Foundation


class TestableExtensionRuntime: ExtensionRuntime {
func getHistoricalEvents(_ requests: [EventHistoryRequest], enforceOrder: Bool, handler: @escaping ([EventHistoryResult]) -> Void) {
// no-op
}

var listeners: [String: EventListener] = [:]
var dispatchedEvents: [Event] = []
var createdSharedStates: [[String: Any]?] = []
Expand Down

0 comments on commit 35472e5

Please sign in to comment.