Skip to content

Conversation

arcanis
Copy link
Member

@arcanis arcanis commented Mar 4, 2025

What's the problem this PR addresses?

Some of our tests rely on implementation details which can make refactoring more difficult.

How did you fix it?

This diff attempts to remove checks for things that don't directly match the test description, by using standard APIs as much as possible. For example, if a test wants to read a file from a dependency, it should do so by calling require.resolve to find out the location of this file rather than by hardcoding it.

Checklist

  • I have set the packages that need to be released for my changes to be effective.
  • I will check that all automated PR checks pass before the PR gets reviewed.

@arcanis arcanis merged commit 6b3f3e7 into master Mar 5, 2025
26 checks passed
@arcanis arcanis deleted the zpm branch March 5, 2025 09:03
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