fix: add original license and copyrights for the referenced code#438
Merged
fix: add original license and copyrights for the referenced code#438
Conversation
✅ Deploy Preview for rstest-dev ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
fi3ework
approved these changes
Aug 4, 2025
Contributor
There was a problem hiding this comment.
Pull Request Overview
This PR adds original license and copyright information for code that has been adapted from Vitest, Jest, and Playwright projects. The purpose is to ensure proper attribution and legal compliance for referenced code.
- Adds MIT license headers with copyright notices to files containing Vitest-adapted code
- Adds Jest MIT license header to console.ts file
- Adds Apache 2.0 license header to fixtures.ts file for Playwright-adapted code
- Updates the main LICENSE.md file to include comprehensive attribution for all referenced projects
- Refactors license generation code into a separate module
Reviewed Changes
Copilot reviewed 12 out of 12 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| packages/core/src/types/expect.ts | Adds MIT license header for Vitest-adapted code |
| packages/core/src/runtime/worker/console.ts | Adds MIT license header for Jest-adapted code |
| packages/core/src/runtime/runner/fixtures.ts | Adds Apache 2.0 license header for Playwright-adapted code |
| packages/core/src/runtime/api/snapshot.ts | Adds MIT license header for Vitest-adapted code |
| packages/core/src/runtime/api/poll.ts | Adds MIT license header for Vitest-adapted code |
| packages/core/src/runtime/api/expect.ts | Adds MIT license header for Vitest-adapted code |
| packages/core/src/reporter/windowedRenderer.ts | Adds MIT license header for Vitest-adapted code |
| packages/core/src/reporter/summary.ts | Adds MIT license header for Vitest-adapted code |
| packages/core/src/pool/index.ts | Adds MIT license header for Vitest-adapted code |
| packages/core/rslib.config.ts | Refactors license plugin code to separate file |
| packages/core/licensePlugin.ts | New file containing license generation logic with comprehensive attribution |
| packages/core/LICENSE.md | Updates main license with comprehensive third-party attribution section |
| * This method is modified based on source found in | ||
| * https://github.com/vitest-dev/vitest/blob/e8ce94cfb5520a8b69f9071cc5638a53129130d6/packages/vitest/src/integrations/chai/poll.ts | ||
| * | ||
| * |
There was a problem hiding this comment.
[nitpick] There's an extra blank line in the comment block. Consider removing line 5 to maintain consistent formatting with other license headers.
Suggested change
| * |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Some testing features and utilities in Rstest have been adapted from Vitest, Jest and Playwright. Add original license and copyrights for the referenced code.
Related Links
Checklist