Skip to content

jest-circus feature parity with jest-jasmine #4362

@boujeepossum

Description

@boujeepossum

TODO items:
fix broken test.
to run all tests using jest-circus update this require line
https://github.com/facebook/jest/blob/19384094dc7ac5cd77e4eacf611d76abe5837063/packages/jest-runner/src/run_test.js#L63
with a path to the adapter:

require('jest-circus/build/legacy_code_todo_rewrite/jest_adapter.js').default

and run

./jest

failing tests:

  • integration-tests/__tests__/snapshot.test.js (@aaronabramov)
  • integration-tests/__tests__/jasmine_async.test.js (@aaronabramov)
  • integration-tests/__tests__/globals.test.js (@thymikee)
  • packages/jest-cli/src/__tests__/search_source.test.js (@aaronabramov)
  • integration-tests/__tests__/lifecycles.js (@aaronabramov)
  • integration-tests/__tests__/failures.test.js (@SimenB)
  • integration-tests/__tests__/test_name_pattern.test.js (@aaronabramov)
  • integration-tests/__tests__/location_in_results.test.js (@captbaritone)
  • integration-tests/__tests__/override-globals.test.js (@aaronabramov)
  • integration-tests/__tests__/each.test.js (@mattphillips)
  • integration-tests/__tests__/timer_use_real_timers.test.js (@thymikee)

PRs that i opened but never had a chance to merge (need to come back and fix a few things):
#3819
#3824

also this is a new feature that was added to jasmine https://github.com/facebook/jest/pull/4016/files

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions