Skip to content

Fix Test Script#206

Open
paul90 wants to merge 5 commits intomainfrom
test-script-correction
Open

Fix Test Script#206
paul90 wants to merge 5 commits intomainfrom
test-script-correction

Conversation

@paul90
Copy link
Member

@paul90 paul90 commented Feb 13, 2026

Thanks to Brian for spotting that the npm scripts for running the test would never run. These changes fixes that, and resolves issues with failing tests.

N.B. Luckily those things that were not working were due to differences in location of components between running tests here and running from within the ‘wiki’ package.

Changes

  • Corrected test script to work from root directory
  • Fixed isWorking method in sitemap to return correctly
  • Removed CoffeeScript dependency
  • Enhanced plugin loading to support devDependencies
  • Improved plugin page discovery with devDependencies fallback

Node's test runner works from root
No need to change directory
Broken method lacks return
Silent bug lurks in the code
Thanks Brian
Unused language departs
Modify plugin loading to support test environments where
plugins are listed as devDependencies. Enhance plugin
detection by checking both dependencies and devDependencies
to ensure comprehensive plugin discovery.
Extend plugin page discovery to include plugins from devDependencieswhen
no plugins are found in dependencies. This improves flexibilityfor
development and testing scenarios by allowing plugin pages to beloaded
from development dependencies.
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.

1 participant