Skip to content

[Feature]: Unite test related clean commits#22

Merged
danish17 merged 4 commits intodevelopfrom
feat/unit-test-related-commits
Feb 6, 2026
Merged

[Feature]: Unite test related clean commits#22
danish17 merged 4 commits intodevelopfrom
feat/unit-test-related-commits

Conversation

@theMasudRana
Copy link
Copy Markdown
Collaborator

Re-applies test infrastructure, unit tests to develop.

These commits were originally part of PR #19, which was accidentally merged
into main and later reverted. This PR correctly restores the changes on
develop.

- Add Jest configuration (jest.config.js)
- Add PHPUnit configuration (phpunit.xml.dist)
- Update package.json with test scripts and devDependencies
- Update composer.json with PHPUnit, Brain\Monkey dependencies
- Add test setup files and mocks (tests/js/, tests/php/)
- Add JS tests for view.ts (86 tests)
- Add JS tests for types.ts validation
- Add PHP tests for Plugin class
- Add PHP tests for Singleton trait
@theMasudRana theMasudRana requested a review from danish17 February 5, 2026 17:28
@danish17 danish17 merged commit 41349ed into develop Feb 6, 2026
1 check passed
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.

2 participants