web icon indicating copy to clipboard operation
web copied to clipboard

docs(test-runner-module-mocking): ✏️ test-moduleMocking details on plugin import order

Open movrack opened this issue 1 year ago • 1 comments

docs(test-runner-module-mocking): ✏️ test-moduleMocking details on plugin import order

Adding details on the order of plugin import in test config. Module mocking must be in first position to avoid conflict with modified path due to other plugins. + refactoring

What I did

  1. Adding doc in readme
  2. Small refactoring for easiness code view
  3. Adding Sinon.js as plugin dep dependency for new test on relative path and try stubbing mocked dependency

movrack avatar Feb 19 '24 14:02 movrack

🦋 Changeset detected

Latest commit: 1cac4c335bb4f458a194048c0440931d6595b28a

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@web/test-runner-module-mocking Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

changeset-bot[bot] avatar Feb 19 '24 14:02 changeset-bot[bot]