@samitouri / QOS-React-2 / commits / d7bb524ade

[cleanup] Remove unused package jest-mock-scheduler (#26084)

## Summary Removing package jest-mock-scheduler introduced in PR https://github.com/facebook/react/pull/14358, as it is no longer referenced in the main branch code. The following files previously referenced it: - packages/scheduler/src/__tests__/Scheduler-test.js - packages/scheduler/src/__tests__/SchedulerDOM-test.js - packages/shared/__tests__/ReactDOMFrameScheduling-test.js - scripts/jest/setupTests.js - scripts/rollup/bundles.js ## How did you test this change? ci green

Ming Ye committed Jan 31, 2023 at 23:23 UTC d7bb524ade26513ad310fedab5cad659012efd45
3 files changed -39
packages/jest-mock-scheduler/README.md deleted
-5
@@ -1,5 +0,0 @@
1 -# `jest-mock-scheduler`
2 -
3 -Jest matchers and utilities for testing the `scheduler` package.
4 -
5 -This package is experimental. APIs may change between releases.
\ No newline at end of file
packages/jest-mock-scheduler/npm/index.js deleted
-3
@@ -1,3 +0,0 @@
1 -'use strict';
2 -
3 -module.exports = require('scheduler/unstable_mock');
packages/jest-mock-scheduler/package.json deleted
-31
@@ -1,31 +0,0 @@
1 -{
2 - "name": "jest-mock-scheduler",
3 - "private": true,
4 - "version": "0.1.0",
5 - "description": "Jest matchers and utilities for testing the scheduler package.",
6 - "main": "index.js",
7 - "repository": {
8 - "type" : "git",
9 - "url" : "https://github.com/facebook/react.git",
10 - "directory": "packages/jest-mock-scheduler"
11 - },
12 - "keywords": [
13 - "jest",
14 - "scheduler"
15 - ],
16 - "license": "MIT",
17 - "bugs": {
18 - "url": "https://github.com/facebook/react/issues"
19 - },
20 - "homepage": "https://reactjs.org/",
21 - "peerDependencies": {
22 - "jest": "^23.0.1 || ^24.0.0 || ^25.1.0",
23 - "scheduler": "^0.20.0"
24 - },
25 - "files": [
26 - "LICENSE",
27 - "README.md",
28 - "index.js",
29 - "cjs/"
30 - ]
31 -}