Tests: Add PHPUnit-Polyfills to fix broken tests in GH workflow.

e.g., https://github.com/WordPress/five-for-the-future/runs/5605920046?check_suite_focus=true
This commit is contained in:
Ian Dunn 2022-05-03 15:51:42 -07:00
parent 428cde283c
commit cbc0afb39b
No known key found for this signature in database
GPG key ID: 99B971B50343CBCB
2 changed files with 64 additions and 2 deletions

View file

@ -20,7 +20,8 @@
"dealerdirect/phpcodesniffer-composer-installer": "^0.7.0",
"wp-coding-standards/wpcs": "2.3.*",
"phpunit/phpunit": "^7",
"spatie/phpunit-watcher": "^1.23"
"spatie/phpunit-watcher": "^1.23",
"yoast/phpunit-polyfills": "^1.0"
},
"scripts": {
"lint": [