summaryrefslogtreecommitdiffstats
path: root/docs/code-quality/lint/linters/eslint-plugin-mozilla/no-useless-run-test.rst
blob: a07940569602de962da459122b4da9904c007db1 (plain)
1
2
3
4
5
6
no-useless-run-test
===================

Designed for xpcshell-tests. Rejects definitions of ``run_test()`` where the
function only contains a single call to ``run_next_test()``. xpcshell's head.js
already defines a utility function so there is no need for duplication.