damus

nostr ios client
git clone git://jb55.com/damus
Log | Files | Refs | README | LICENSE

commit 41c76d9de0d720ed3ee14a7bb488dee7752a6d44
parent eaaf80215732f77689a77f64879b14b2438d8168
Author: William Casarin <jb55@jb55.com>
Date:   Mon, 13 Nov 2023 16:19:54 -0800

tests: disable snapshot tests for now

Until they are working on macos and xcode cloud

Diffstat:
MdamusTests/EventViewTests.swift | 2++
MdamusTests/PostViewTests.swift | 4+++-
2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/damusTests/EventViewTests.swift b/damusTests/EventViewTests.swift @@ -21,6 +21,7 @@ final class EventViewTests: XCTestCase { // Put teardown code here. This method is called after the invocation of each test method in the class. } + /* func testBasicEventViewLayout() { let test_mock_damus_state = generate_test_damus_state( mock_profile_info: [ @@ -43,4 +44,5 @@ final class EventViewTests: XCTestCase { // Run snapshot check assertSnapshot(matching: hostView, as: .image(on: .iPhone13(.portrait))) } + */ } diff --git a/damusTests/PostViewTests.swift b/damusTests/PostViewTests.swift @@ -21,6 +21,7 @@ final class PostViewTests: XCTestCase { // Put teardown code here. This method is called after the invocation of each test method in the class. } + /* func testTextWrapperViewWillWrapText() { // Setup test variables to be passed into the TextViewWrapper let tagModel: TagModel = TagModel() @@ -44,7 +45,8 @@ final class PostViewTests: XCTestCase { // Run snapshot check assertSnapshot(matching: hostView, as: .image(on: .iPhoneSe(.portrait))) } - + */ + /// Based on https://github.com/damus-io/damus/issues/1375 /// Tests whether the editor properly handles mention links after they have been added, to avoid manual editing of attributed links func testMentionLinkEditorHandling() throws {