Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
tools: Rename tool to check-schemas.
Steve Howell09ff0c400d5d
diff --git a/docs/subsystems/events-system.md b/docs/subsystems/events-system.mdindex e62f077489e..d0a79287295 100644--- a/docs/subsystems/events-system.md+++ b/docs/subsystems/events-system.md@@ -369,7 +369,7 @@ in `frontend_tests/node_tests/lib/events.js`, a test of the`server_events_dispatch.js` code for that event in`frontend_tests/node_tests/dispatch.js`, and verify your exampleagainst the two versions of the schema that you declared above using-`tools/check-node-fixtures`.+`tools/check-schemas`.#### Code coveragediff --git a/frontend_tests/node_tests/lib/events.js b/frontend_tests/node_tests/lib/events.jsindex 553c56dac8d..80b771f8a33 100644--- a/frontend_tests/node_tests/lib/events.js+++ b/frontend_tests/node_tests/lib/events.js@@ -2,7 +2,7 @@// These events are not guaranteed to be perfectly// representative of what the server sends. We-// have a tool called check-node-fixtures that tries+// have a tool called check-schemas that tries// to validate this data against server side schemas,// but there are certain edge cases that the tool now// skips. And even when the data matches the schema,diff --git a/tools/check-node-fixtures b/tools/check-schemassimilarity index 100%rename from tools/check-node-fixturesrename to tools/check-schemasdiff --git a/tools/ci/frontend b/tools/ci/frontendindex 87ea614b5a3..af91acffff0 100755--- a/tools/ci/frontend+++ b/tools/ci/frontend@@ -10,8 +10,8 @@ set -x# Run the node tests first, since they're fast and deterministic./tools/test-js-with-node --coverage-# Check the node fixtures (also fast)-./tools/check-node-fixtures+# Check that various schemas are consistent. (is fast)+./tools/check-schemas# Check capitalization of strings./manage.py makemessages --locale endiff --git a/tools/test-all b/tools/test-allindex 561675d1709..f4046ba2c30 100755--- a/tools/test-all+++ b/tools/test-all@@ -71,7 +71,7 @@ run ./tools/test-api# ci/frontendrun ./tools/lint --groups=frontend $FORCEARGrun ./tools/test-js-with-node-run ./tools/check-node-fixtures+run ./tools/check-schemasrun ./manage.py makemessages --locale enrun env PYTHONWARNINGS=ignore ./tools/check-capitalization --no-generaterun env PYTHONWARNINGS=ignore ./tools/check-frontend-i18n --no-generate