Under the hoodTier: how much it should matter to you
2Useful: my rating, 1 to 5
2Signal: worth watching, 1 to 5
ElsewhereArea: what it touches
Internal ChangesKind: in v2.1.271,
Internal ChangesSection of the release
What
The plugin test-declaration function test(name, { plugins }) now enforces that each test name matches the pattern ^[a-z0-9][a-z0-9-]*$, rejects duplicate test names, and specifically rejects a plugin reusing the reserved name that the test's own hooks load under.
Why
This catches naming mistakes in plugin tests earlier, before they cause confusing collisions with the reserved name used internally for the test's own hooks.