Skip to content

chore: fix tests to only use local resources#102

Merged
MSNev merged 1 commit intomainfrom
MSNev/FailingTests
Feb 18, 2026
Merged

chore: fix tests to only use local resources#102
MSNev merged 1 commit intomainfrom
MSNev/FailingTests

Conversation

@MSNev
Copy link
Collaborator

@MSNev MSNev commented Feb 18, 2026

  • Update docs

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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 Selenium Tests.html includes/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.

@MSNev MSNev merged commit 8b0eb97 into main Feb 18, 2026
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments