canmove, Confirmed users
737
edits
| Line 24: | Line 24: | ||
# initialize the tests directory using the "tests" value inside "package.json", or the top-level "tests/" or "test/" directory | # initialize the tests directory using the "tests" value inside "package.json", or the top-level "tests/" or "test/" directory | ||
# load every module it finds in the tests directory | # load every module it finds in the tests directory whose name starts with "test" | ||
# call each function exported by that module, passing it a [https://addons.mozilla.org/en-US/developers/docs/sdk/latest/packages/api-utils/docs/unit-test.html test] object as an argument. | # call each function exported by that module, passing it a [https://addons.mozilla.org/en-US/developers/docs/sdk/latest/packages/api-utils/docs/unit-test.html test] object as an argument. | ||