From e5d59aa7b04b08960ec454609368d5b1da6768fe Mon Sep 17 00:00:00 2001 From: louiszawadzki Date: Wed, 13 Sep 2023 14:10:19 +0200 Subject: [PATCH] Reenable ErrorSource iOS tests --- packages/core/ios/Tests/DdRumTests.swift | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/packages/core/ios/Tests/DdRumTests.swift b/packages/core/ios/Tests/DdRumTests.swift index 859a60912..393dd5fb5 100644 --- a/packages/core/ios/Tests/DdRumTests.swift +++ b/packages/core/ios/Tests/DdRumTests.swift @@ -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 {