Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(fake-timers)!: allow jest.useFakeTimers() and projectConfig.fakeTimers to take an options bag #12572

Merged
merged 73 commits into from Apr 5, 2022

Commits on Mar 12, 2022

  1. Copy the full SHA
    6b663c8 View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    344fda7 View commit details
    Browse the repository at this point in the history
  3. tweak defaults

    mrazauskas committed Mar 12, 2022
    Copy the full SHA
    c42e93d View commit details
    Browse the repository at this point in the history
  4. tweak error message

    mrazauskas committed Mar 12, 2022
    Copy the full SHA
    d828b55 View commit details
    Browse the repository at this point in the history

Commits on Mar 13, 2022

  1. docs

    mrazauskas committed Mar 13, 2022
    Copy the full SHA
    b6d30db View commit details
    Browse the repository at this point in the history
  2. add note on "strategy"

    mrazauskas committed Mar 13, 2022
    Copy the full SHA
    3e487fc View commit details
    Browse the repository at this point in the history
  3. add example lines

    mrazauskas committed Mar 13, 2022
    Copy the full SHA
    fa2c75f View commit details
    Browse the repository at this point in the history
  4. prettier

    mrazauskas committed Mar 13, 2022
    Copy the full SHA
    f480a6e View commit details
    Browse the repository at this point in the history
  5. rename timerLimit

    mrazauskas committed Mar 13, 2022
    Copy the full SHA
    44fffd8 View commit details
    Browse the repository at this point in the history
  6. Copy the full SHA
    39b27f9 View commit details
    Browse the repository at this point in the history
  7. rethinking API

    mrazauskas committed Mar 13, 2022
    Copy the full SHA
    e4b0dc0 View commit details
    Browse the repository at this point in the history

Commits on Mar 14, 2022

  1. Copy the full SHA
    4ccc5bb View commit details
    Browse the repository at this point in the history
  2. group e2e tests

    mrazauskas committed Mar 14, 2022
    Copy the full SHA
    5ccdff4 View commit details
    Browse the repository at this point in the history
  3. more docs

    mrazauskas committed Mar 14, 2022
    Copy the full SHA
    e17d545 View commit details
    Browse the repository at this point in the history
  4. more cli docs

    mrazauskas committed Mar 14, 2022
    Copy the full SHA
    a671c6a View commit details
    Browse the repository at this point in the history

Commits on Mar 15, 2022

  1. clean up e2e tests

    mrazauskas committed Mar 15, 2022
    Copy the full SHA
    bb38197 View commit details
    Browse the repository at this point in the history
  2. rename fakeTimers

    mrazauskas committed Mar 15, 2022
    Copy the full SHA
    e3ec932 View commit details
    Browse the repository at this point in the history
  3. Copy the full SHA
    1e33ec0 View commit details
    Browse the repository at this point in the history
  4. legacyFakeTimers test

    mrazauskas committed Mar 15, 2022
    Copy the full SHA
    8df6ae5 View commit details
    Browse the repository at this point in the history
  5. add timerLimit test

    mrazauskas committed Mar 15, 2022
    Copy the full SHA
    78225a5 View commit details
    Browse the repository at this point in the history
  6. fix timerLimit

    mrazauskas committed Mar 15, 2022
    Copy the full SHA
    c61f4da View commit details
    Browse the repository at this point in the history
  7. Merge branch 'main'

    mrazauskas committed Mar 15, 2022
    Copy the full SHA
    f9c511f View commit details
    Browse the repository at this point in the history
  8. add deprecation warning

    mrazauskas committed Mar 15, 2022
    Copy the full SHA
    c96a4c9 View commit details
    Browse the repository at this point in the history
  9. Copy the full SHA
    3726701 View commit details
    Browse the repository at this point in the history
  10. Copy the full SHA
    84a2a0c View commit details
    Browse the repository at this point in the history
  11. fix type tests

    mrazauskas committed Mar 15, 2022
    Copy the full SHA
    5fef5ce View commit details
    Browse the repository at this point in the history

Commits on Mar 16, 2022

  1. implement doNotFake option

    mrazauskas committed Mar 16, 2022
    Copy the full SHA
    aa8d7a9 View commit details
    Browse the repository at this point in the history
  2. fix messages

    mrazauskas committed Mar 16, 2022
    Copy the full SHA
    f4758c5 View commit details
    Browse the repository at this point in the history
  3. clean up CLI docs

    mrazauskas committed Mar 16, 2022
    Copy the full SHA
    a1bc0f6 View commit details
    Browse the repository at this point in the history
  4. even more docs

    mrazauskas committed Mar 16, 2022
    Copy the full SHA
    4171178 View commit details
    Browse the repository at this point in the history
  5. better errors

    mrazauskas committed Mar 16, 2022
    Copy the full SHA
    a3c7e4c View commit details
    Browse the repository at this point in the history

Commits on Mar 17, 2022

  1. add unit test

    mrazauskas committed Mar 17, 2022
    Copy the full SHA
    cd01710 View commit details
    Browse the repository at this point in the history
  2. changelog entry

    mrazauskas committed Mar 17, 2022
    Copy the full SHA
    2b8ed49 View commit details
    Browse the repository at this point in the history
  3. better changelog entry

    mrazauskas committed Mar 17, 2022
    Copy the full SHA
    0eabf14 View commit details
    Browse the repository at this point in the history
  4. Copy the full SHA
    ebed0c1 View commit details
    Browse the repository at this point in the history
  5. fix unit test

    mrazauskas committed Mar 17, 2022
    Copy the full SHA
    8b5d6b0 View commit details
    Browse the repository at this point in the history
  6. better Date.now() (?)

    mrazauskas committed Mar 17, 2022
    Copy the full SHA
    ef1434a View commit details
    Browse the repository at this point in the history
  7. expect.any(Number)

    mrazauskas committed Mar 17, 2022
    Copy the full SHA
    5ad74f4 View commit details
    Browse the repository at this point in the history
  8. mock Date.now()

    mrazauskas committed Mar 17, 2022
    Copy the full SHA
    4ec6cce View commit details
    Browse the repository at this point in the history

Commits on Mar 19, 2022

  1. clean up

    mrazauskas committed Mar 19, 2022
    Copy the full SHA
    7fb3de3 View commit details
    Browse the repository at this point in the history
  2. fix config examples

    mrazauskas committed Mar 19, 2022
    Copy the full SHA
    947ad20 View commit details
    Browse the repository at this point in the history
  3. clean up

    mrazauskas committed Mar 19, 2022
    Copy the full SHA
    268febd View commit details
    Browse the repository at this point in the history

Commits on Mar 21, 2022

  1. Update docs/JestObjectAPI.md

    Co-authored-by: Simen Bekkhus <sbekkhus91@gmail.com>
    mrazauskas and SimenB committed Mar 21, 2022
    Copy the full SHA
    5ba69dd View commit details
    Browse the repository at this point in the history
  2. one more backticks

    mrazauskas committed Mar 21, 2022
    Copy the full SHA
    2b0a6fe View commit details
    Browse the repository at this point in the history

Commits on Mar 22, 2022

  1. clean up

    mrazauskas committed Mar 22, 2022
    Copy the full SHA
    6c7e24c View commit details
    Browse the repository at this point in the history

Commits on Mar 23, 2022

  1. Copy the full SHA
    a2dfb22 View commit details
    Browse the repository at this point in the history

Commits on Mar 24, 2022

  1. rebase

    mrazauskas committed Mar 24, 2022
    Copy the full SHA
    1995027 View commit details
    Browse the repository at this point in the history
  2. docs

    mrazauskas committed Mar 24, 2022
    Copy the full SHA
    01fabf4 View commit details
    Browse the repository at this point in the history
  3. tweak types

    mrazauskas committed Mar 24, 2022
    Copy the full SHA
    9e3d7bf View commit details
    Browse the repository at this point in the history
  4. prettier

    mrazauskas committed Mar 24, 2022
    Copy the full SHA
    73e092b View commit details
    Browse the repository at this point in the history
  5. fix docs

    mrazauskas committed Mar 24, 2022
    Copy the full SHA
    23196dd View commit details
    Browse the repository at this point in the history
  6. now must be a number

    mrazauskas committed Mar 24, 2022
    Copy the full SHA
    4354da8 View commit details
    Browse the repository at this point in the history
  7. true conditions first

    mrazauskas committed Mar 24, 2022
    Copy the full SHA
    8cc5b8c View commit details
    Browse the repository at this point in the history
  8. more type tests

    mrazauskas committed Mar 24, 2022
    Copy the full SHA
    c78df2e View commit details
    Browse the repository at this point in the history

Commits on Mar 25, 2022

  1. more docs

    mrazauskas committed Mar 25, 2022
    Copy the full SHA
    2168c49 View commit details
    Browse the repository at this point in the history

Commits on Mar 26, 2022

  1. Copy the full SHA
    d183309 View commit details
    Browse the repository at this point in the history
  2. fix lint errors

    mrazauskas committed Mar 26, 2022
    Copy the full SHA
    ca52b59 View commit details
    Browse the repository at this point in the history

Commits on Mar 27, 2022

  1. tweak types

    mrazauskas committed Mar 27, 2022
    Copy the full SHA
    fb61d57 View commit details
    Browse the repository at this point in the history

Commits on Mar 28, 2022

  1. Copy the full SHA
    7113374 View commit details
    Browse the repository at this point in the history
  2. better mock

    mrazauskas committed Mar 28, 2022
    Copy the full SHA
    aec5053 View commit details
    Browse the repository at this point in the history
  3. rework test

    mrazauskas committed Mar 28, 2022
    Copy the full SHA
    5c1daec View commit details
    Browse the repository at this point in the history

Commits on Apr 2, 2022

  1. fix bug

    mrazauskas committed Apr 2, 2022
    Copy the full SHA
    4fb53fd View commit details
    Browse the repository at this point in the history
  2. tweak docs

    mrazauskas committed Apr 2, 2022
    Copy the full SHA
    459b551 View commit details
    Browse the repository at this point in the history

Commits on Apr 3, 2022

  1. remove CLI option

    mrazauskas committed Apr 3, 2022
    Copy the full SHA
    1009ff1 View commit details
    Browse the repository at this point in the history
  2. improve description

    mrazauskas committed Apr 3, 2022
    Copy the full SHA
    72a6565 View commit details
    Browse the repository at this point in the history
  3. snap

    mrazauskas committed Apr 3, 2022
    Copy the full SHA
    8ff79fa View commit details
    Browse the repository at this point in the history

Commits on Apr 4, 2022

  1. default configuration

    mrazauskas committed Apr 4, 2022
    Copy the full SHA
    6d1c0d1 View commit details
    Browse the repository at this point in the history
  2. fix resetMocks test

    mrazauskas committed Apr 4, 2022
    Copy the full SHA
    cb6bede View commit details
    Browse the repository at this point in the history
  3. fix resetMocks test again

    mrazauskas committed Apr 4, 2022
    Copy the full SHA
    1b29f9e View commit details
    Browse the repository at this point in the history
  4. fix logic as suggested

    mrazauskas committed Apr 4, 2022
    Copy the full SHA
    20f1d34 View commit details
    Browse the repository at this point in the history

Commits on Apr 5, 2022

  1. add migration guide

    mrazauskas committed Apr 5, 2022
    Copy the full SHA
    0c8402c View commit details
    Browse the repository at this point in the history
  2. Revert "add migration guide"

    This reverts commit 0c8402c.
    SimenB committed Apr 5, 2022
    Copy the full SHA
    07ef70c View commit details
    Browse the repository at this point in the history
  3. Copy the full SHA
    e9e5cfa View commit details
    Browse the repository at this point in the history