Skip to content

tests: split monolithic test.mjs into focused modules#201

Merged
XhmikosR merged 1 commit intomainfrom
xmr/tests
Apr 17, 2026
Merged

tests: split monolithic test.mjs into focused modules#201
XhmikosR merged 1 commit intomainfrom
xmr/tests

Conversation

@XhmikosR
Copy link
Copy Markdown
Member

@XhmikosR XhmikosR commented Apr 17, 2026

tests: split monolithic test.mjs into focused modules

  • Add helpers.mjs with fixtures() path helper and mock setup functions
  • Split into dependency-tree, formats, to-list, resolvers, node-modules,
    and config test files
  • Add coverage for Sass nonExistent partials, _getDependencies parse errors,
    flat/scoped node_modules, requirejs nonExistent aliases, ES6 lazy/dynamic
    imports, nodeModulesConfig.entry, tsconfig/tsx/allowJs integration
  • Flatten nested describes, inline single-use beforeEach() mocks, lift
    helpers to module scope, fix shadowed variables

@XhmikosR XhmikosR force-pushed the xmr/tests branch 2 times, most recently from 795c0c9 to 3ed1fec Compare April 17, 2026 12:52
@XhmikosR XhmikosR changed the title tests: flatten nested describes, remove duplicate tests, improve modularity Test improvements Apr 17, 2026
@XhmikosR XhmikosR force-pushed the xmr/tests branch 2 times, most recently from a3135f5 to 4fb1fbf Compare April 17, 2026 13:16
- Add helpers.mjs with fixtures() path helper and mock setup functions
- Split into dependency-tree, formats, to-list, resolvers, node-modules,
  and config test files
- Add coverage for Sass nonExistent partials, _getDependencies parse errors,
  flat/scoped node_modules, requirejs nonExistent aliases, ES6 lazy/dynamic
  imports, nodeModulesConfig.entry, tsconfig/tsx/allowJs integration
- Flatten nested describes, inline single-use beforeEach() mocks, lift
  helpers to module scope, fix shadowed variables
@XhmikosR XhmikosR changed the title Test improvements tests: split monolithic test.mjs into focused modules Apr 17, 2026
@XhmikosR XhmikosR marked this pull request as ready for review April 17, 2026 14:34
@XhmikosR XhmikosR merged commit e3f2e16 into main Apr 17, 2026
1 check passed
@XhmikosR XhmikosR deleted the xmr/tests branch April 17, 2026 14:35
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