Closed alexlwn123 closed 3 weeks ago
Latest commit: 44243ed277dc99f208edc080595cd4dd1d99cb99
Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.
Click here to learn what changesets are, and how to add one.
Click here if you're a maintainer who wants to add a changeset to this PR
Size Change: 0 B
Total Size: 7.23 MB
Trying out copilot generated PR descriptions:
This pull request includes significant changes to the testing setup and documentation for the
core-web
package. The most important changes involve refactoring test cases to use a newwalletTest
fixture, adding new test cases for the worker, and updating documentation with additional resources.Testing Refactor and Additions:
packages/core-web/src/services/FederationService.test.ts
: Refactored test cases to use the newwalletTest
fixture for better setup and teardown management. [1] [2] [3]packages/core-web/src/services/LightningService.test.ts
: Similar refactor to use thewalletTest
fixture, ensuring consistent test environment setup. [1] [2] [3] [4] [5]packages/core-web/src/test/setupTests.ts
: IntroducedwalletTest
andworkerTest
fixtures to streamline test setup and teardown processes.packages/core-web/src/worker/worker.test.ts
: Added new test cases to verify worker initialization, joining a federation, and handling unknown message types.Additional Changes:
packages/core-web/src/worker/worker.js
: Updated worker initialization logging and added a global fix for the vitest browser runner. [1] [2]packages/core-web/src/test/TestingService.ts
: Moved theTESTING_INVITE
constant to a separate export for better modularity.vitest.workspace.ts
: Disabled screenshot failures in the Vitest workspace configuration.