e46c62197a14b397bb01352c8309238a581ff935
chmalee
  Thu Aug 27 14:40:35 2026 -0700
Remove the dead 2015 JsTestDriver setup under hg/js/test, refs #38188

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

diff --git src/hg/js/README src/hg/js/README
index 23c1937536f..1f43024094d 100644
--- src/hg/js/README
+++ src/hg/js/README
@@ -70,15 +70,23 @@
   enables very efficient detection of changes.
   The view modules are written in JSX, a superset of Javascript that adds HTML-like
   syntax for instantiation of UI elements.  Compiling JSX to JS requires the installation
   of node, npm (node package manager) and the react-tools package.  In order to avoid
   that requirement for mirror installations, a bundle of compiled JSX files has been added
   to git.  Developers who change .JSX files must set the JSX environment variable to jsx
   (or complete path to jsx), and should also set JSXHINT to jsxhint.
   react/ has the following subdirs:
   - bundle/ contains compiled and minified version of JSX code
   - lib/ has UI components written in JSX, some very basic (Section.jsx, CheckboxLabel.jsx),
     some more complex (PositionSearch.jsx)
   - mixins/ has JS (not JSX) modules that add functionality to components; PathUpdate.js
     checks for properties that must be passed down in order to work with ImModel,
     ImmutableUpdate adds efficient change detection using ImmutableJS.
   - each CGI has a subdir for its JSX code
+
+
+TESTING JAVASCRIPT:
+
+The test/ directory that used to be here held a 2015 JsTestDriver setup that
+nothing referenced and nobody ran. Browser tests now live in src/hg/utils/uiTest/,
+with each CGI's own tests in src/hg/<cgi>/tests/. See src/hg/hgTracks/tests/ for
+a worked example.