From c8d58994470742c1dd865880d73f69e554f0fb28 Mon Sep 17 00:00:00 2001
From: Brian Vaughn
Date: Fri, 31 Aug 2018 16:27:45 -0700
Subject: [PATCH] Fixed inline bundling problem and added more fixture tests
---
fixtures/tracking/index.html | 128 +++--------
fixtures/tracking/script.js | 213 ++++++++++++++++++
.../react-scheduler-tracking-subscriptions.js | 39 ++++
.../npm/umd/react-scheduler-tracking.js | 77 +++++++
.../npm/umd/react-scheduler.js | 45 ++++
packages/react/src/ReactSharedInternals.js | 40 ++--
packages/shared/ReactScheduler.js | 17 --
packages/shared/forks/ReactScheduler.umd.js | 25 +-
packages/shared/forks/ReactScheduler.www.js | 12 +-
.../forks/ReactSchedulerTracking.umd.js | 69 ++----
...ReactSchedulerTrackingSubscriptions.umd.js | 19 +-
scripts/rollup/bundles.js | 15 +-
scripts/rollup/forks.js | 9 +-
scripts/rollup/modules.js | 5 +-
14 files changed, 476 insertions(+), 237 deletions(-)
create mode 100644 fixtures/tracking/script.js
create mode 100644 packages/react-scheduler/npm/umd/react-scheduler-tracking-subscriptions.js
create mode 100644 packages/react-scheduler/npm/umd/react-scheduler-tracking.js
create mode 100644 packages/react-scheduler/npm/umd/react-scheduler.js
delete mode 100644 packages/shared/ReactScheduler.js
diff --git a/fixtures/tracking/index.html b/fixtures/tracking/index.html
index 8563ae7808c8a..30ec31d43112a 100644
--- a/fixtures/tracking/index.html
+++ b/fixtures/tracking/index.html
@@ -4,22 +4,34 @@
Test tracking UMD
@@ -29,107 +41,33 @@ Test tracking UMD
This fixture tests that the new tracking API is accessible via UMD build using the UMD shim.
It does not exhaustively test API functionality, only that the forwarded methods can be called.
- Tests:
+
+ Before running the tests below, check the console to make sure there are no errors.
+
+
+ Tests
+ Run all tests
+
-
- Check scheduler API
+
+ Test scheduler API
+
+
+ Test tracking API
-
- Check tracking API
+
+ Test tracking subscriptions API
-
- Check tracking subscriptions API
+
+ Test end-to-end integration
-
-
-
+
+
+
-
+