Skip to content

Commit

Permalink
Reenable ErrorSource iOS tests
Browse files Browse the repository at this point in the history
  • Loading branch information
louiszawadzki committed Sep 14, 2023
1 parent 72816ee commit e5d59aa
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions packages/core/ios/Tests/DdRumTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -269,11 +269,11 @@ internal class DdRumTests: XCTestCase {
}

func testRumErrorSourceMapping() throws {
// XCTAssertEqual(RUMErrorSource(from: "source"), RUMErrorSource.source)
// XCTAssertEqual(RUMErrorSource(from: "network"), RUMErrorSource.network)
// XCTAssertEqual(RUMErrorSource(from: "webview"), RUMErrorSource.webview)
// XCTAssertEqual(RUMErrorSource(from: "console"), RUMErrorSource.console)
// XCTAssertEqual(RUMErrorSource(from: "foobar"), RUMErrorSource.custom)
XCTAssertEqual(RUMErrorSource(from: "source"), RUMErrorSource.source)
XCTAssertEqual(RUMErrorSource(from: "network"), RUMErrorSource.network)
XCTAssertEqual(RUMErrorSource(from: "webview"), RUMErrorSource.webview)
XCTAssertEqual(RUMErrorSource(from: "console"), RUMErrorSource.console)
XCTAssertEqual(RUMErrorSource(from: "foobar"), RUMErrorSource.custom)
}

private func nanoTimeToDate(timestampNs: Int64) -> Date {
Expand Down

0 comments on commit e5d59aa

Please sign in to comment.