Skip to content

RNTesterIntegrationTests: Fix TheTester_ExpectError failure #22697

Closed

Description

@hramos

Help Wanted: Fix TheTester_ExpectError

test_objc on Circle CI is red due to a failing integration test, TheTester_ExpectError:

Assertion Failure: RCTTestRunner.m:231: failed: caught "NSInternalInconsistencyException", "Expected an error but the first one was missing or did not match."

The test is defined in RNTesterIntegrationTests.m and the harness that should throw the expected error is at IntegrationTests/IntegrationTestHarnessTest.js.

Steps to reproduce:

  1. Run yarn at the repository root.
  2. Open RNTester/RNTester.xcodeproj on Xcode 10.1.0.
  3. Build RNTester.
  4. Run tests (CMD+U) on an iPhone 6 simulator.

Activity

  1. added
    Platform: iOS
    Help Wanted :octocat:
    🔩Test Infrastructure
    on Dec 18, 2018
  2. locked as resolved and limited conversation to collaborators on Jan 26, 2020
  3. added
    Resolution: Locked
    on Jan 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Help Wanted :octocat:Platform: iOSResolution: Locked🔩Test Infrastructure

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions