chore: fix tests to only use local resources#102
Merged
Conversation
Collaborator
MSNev
commented
Feb 18, 2026
- Update docs
- Update docs
There was a problem hiding this comment.
Pull request overview
This PR updates the test harness to avoid external/CDN dependencies by switching Selenium/QUnit test pages and TypeScript test references to use locally vendored test assets under common/Tests/External. It also updates the generated TypeDoc site output.
Changes:
- Redirect TypeScript test framework
/// <reference ...>paths and SeleniumTests.htmlincludes/RequireJS paths to local copies of QUnit/Sinon/RequireJS. - Update Grunt QUnit runs to load test pages from a local HTTP server (
connect) instead of file paths. - Refresh/replace TypeDoc-generated HTML/CSS/JS assets and add documentation media files.
Reviewed changes
Copilot reviewed 22 out of 31 changed files in this pull request and generated 9 comments.
Show a summary per file
| File | Description |
|---|---|
| lib/test/TestFramework/TestClass.ts | Updates triple-slash references to use common/Tests/External d.ts files. |
| lib/test/TestFramework/Common.ts | Updates triple-slash references to use common/Tests/External d.ts files. |
| lib/test/TestFramework/Assert.ts | Updates QUnit d.ts reference path to shared external location. |
| lib/test/Selenium/Tests.html | Switches QUnit/Sinon/RequireJS to local assets; updates RequireJS qunit path. |
| gruntfile.js | Runs QUnit tests via http://localhost:9005/... and starts a local connect server in certain tasks; updates Puppeteer options. |
| docs/typedoc/variables/default._dfOpts.html | Removes old TypeDoc variable page output. |
| docs/typedoc/modules/default.html | Removes old TypeDoc namespace module page output. |
| docs/typedoc/modules.html | Replaces TypeDoc modules index page output with new theme/layout. |
| docs/typedoc/media/LICENSE | Adds license file under typedoc media output. |
| docs/typedoc/media/CONTRIBUTING.md | Adds contributing guide under typedoc media output. |
| docs/typedoc/interfaces/idynamicprotoopts.html | Updates generated interface page output (new TypeDoc theme/layout). |
| docs/typedoc/functions/default.html | Adds new generated function page output (replaces prior default-1.html). |
| docs/typedoc/functions/default-1.html | Removes old generated function page output. |
| docs/typedoc/assets/style.css | Updates TypeDoc theme styles. |
| docs/typedoc/assets/search.js | Updates TypeDoc search data format. |
| docs/typedoc/assets/navigation.js | Adds TypeDoc navigation data blob. |
| docs/typedoc/assets/icons.svg | Adds icons sprite for the new TypeDoc output. |
| docs/typedoc/assets/icons.js | Adds runtime icon injection script (for file: handling and new theme). |
| common/Tests/External/sinon.d.ts | Docstring formatting updates (@param now - ...). |
| common/Tests/External/require-2.3.6.js | Adds vendored RequireJS. |
| common/Tests/External/qunit.d.ts | Docstring formatting updates (@param x - ...). |
| common/Tests/External/qunit-1.23.1.css | Adds vendored QUnit CSS. |
| common/Tests/External/magic-string.umd.js | Adds vendored MagicString UMD bundle. |
| common/Tests/External/es6-promise.auto.min.js | Adds vendored ES6 Promise polyfill. |
| common/Tests/External/blanket-reporter.js | Adds/updates a Blanket custom reporter script. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
JacksonWeber
approved these changes
Feb 18, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.