diff --git a/fixtures/schedule/index.html b/fixtures/schedule/index.html new file mode 100644 index 0000000000..24fd26aee9 --- /dev/null +++ b/fixtures/schedule/index.html @@ -0,0 +1,293 @@ + + + + + Schedule Test Page + + + +

Schedule Fixture

+

+ This fixture is for manual testing purposes, and the patterns used in + implementing it should not be used as a model. This is mainly for anyone + working on making changes to the `schedule` module. +

+

Tests:

+
    +
  1. + +

    Calls the callback with the frame when not blocked:

    +
    Expected:
    +
    +
    +
    -------------------------------------------------
    +
    If you see the same above and below it's correct. +
    -------------------------------------------------
    +
    Actual:
    +
    +
  2. +
  3. +

    Accepts multiple callbacks and calls within frame when not blocked

    + +
    Expected:
    +
    +
    +
    -------------------------------------------------
    +
    If you see the same above and below it's correct. +
    -------------------------------------------------
    +
    Actual:
    +
    +
  4. +
  5. +

    Schedules callbacks in correct order when they use scheduleWork to schedule themselves

    + +
    Expected:
    +
    +
    +
    -------------------------------------------------
    +
    If you see the same above and below it's correct. +
    -------------------------------------------------
    +
    Actual:
    +
    +
  6. +
  7. +

    Calls timed out callbacks and then any more pending callbacks, defers others if time runs out

    + +
    Expected:
    +
    +
    +
    -------------------------------------------------
    +
    If you see the same above and below it's correct. +
    -------------------------------------------------
    +
    Actual:
    +
    +
  8. +
+ + + + + diff --git a/packages/react-scheduler/src/__tests__/test_page.html b/packages/react-scheduler/src/__tests__/test_page.html deleted file mode 100644 index 3b5af08b39..0000000000 --- a/packages/react-scheduler/src/__tests__/test_page.html +++ /dev/null @@ -1,10 +0,0 @@ - - - - - React Scheduler test page - - -

Hello World

- -