Skip to content

eliot-akira/wp-now-phpunit-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

wp-now-phpunit-example

Example of running PHPUnit with wp-now. See issue at WordPress/wordpress-playground#1241.

Start

git clone https://github.com/eliot-akira/wp-now-phpunit-example
cd wp-now-phpunit-example
npm install
npm run start

It ends with a WASM error, "null function or function signature mismatch".

Compare with running from Composer-installed vendor folder:

npm run start:vendor

It ends with "Program terminated with exit(1)", which is the expected behavior because PHPUnit requires a test file.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages