Skip to content

Commit

Permalink
Tests: Run Prettier after regenerating test fixture (#33502)
Browse files Browse the repository at this point in the history
* Tests: Always format generated test fixtures

* Move block fixtures to integration tests folder

* Format all test block fixtures
  • Loading branch information
gziolo committed Jul 19, 2021
1 parent 626f233 commit 3a22781
Show file tree
Hide file tree
Showing 847 changed files with 81 additions and 702 deletions.
4 changes: 2 additions & 2 deletions package.json
Expand Up @@ -234,8 +234,8 @@
"dev:packages": "node ./bin/packages/watch.js",
"distclean": "rimraf node_modules packages/*/node_modules",
"docs:build": "node ./docs/tool/index.js && node ./bin/api-docs/update-api-docs.js",
"fixtures:clean": "rimraf \"packages/e2e-tests/fixtures/blocks/*.+(json|serialized.html)\"",
"fixtures:generate": "cross-env GENERATE_MISSING_FIXTURES=y npm run test-unit",
"fixtures:clean": "rimraf \"test/integration/fixtures/blocks/*.+(json|serialized.html)\"",
"fixtures:generate": "cross-env GENERATE_MISSING_FIXTURES=y npm run test-unit test/integration/full-content/ && npm run format test/integration/fixtures/blocks/*.json",
"fixtures:regenerate": "npm run fixtures:clean && npm run fixtures:generate",
"format": "wp-scripts format",
"format-js": "wp-scripts format-js",
Expand Down

0 comments on commit 3a22781

Please sign in to comment.