Skip to content

RNTesterIntegrationTests: Fix testTimersTest failure #22695

Closed

Description

@hramos

Help Wanted: Fix TimersTests

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

UI Test Activity: 
Assertion Failure: RCTTestRunner.m:233: failed: caught "NSInternalInconsistencyException", "RedBox errors: (
    "undefined is not an object (evaluating 'this.setTimeout')",
    "Unhandled JS Exception: undefined is not an object (evaluating 'this.setTimeout')"
)"

The test is defined in JavaScript at IntegrationTests/TimersTest.js, and is invoked by RNTesterIntegrationTests.

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 31, 2020
  3. added
    Resolution: Locked
    on Jan 31, 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