fune/docs/code-quality/lint/linters/eslint-plugin-mozilla/mark-test-function-used.rst

8 lines
280 B
ReStructuredText

mark-test-function-used
=======================
Simply marks ``test`` (the test method) or ``run_test`` as used when in mochitests
or xpcshell tests respectively. This avoids ESLint telling us that the function
is never called.
This rule is included in the test configurations.