summaryrefslogtreecommitdiffstats
path: root/docs/code-quality/lint/linters/eslint-plugin-mozilla/mark-test-function-used.rst
blob: a518d7415bd6203c2cd551831c076b3537ed29b1 (plain)
1
2
3
4
5
6
7
8
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.