Closed
Description
It would be interesting to allow "testing-library/utils-module"
to support multiple modules. For doing so:
-
"testing-library/utils-module"
should expect an array of strings - all tests cases setting
"testing-library/utils-module"
must be updated - add new test cases in fake rule to test several
"testing-library/utils-module"
set - update
isAggressiveModuleReportingEnabled
to check array length is greater than 0 - update
detectionInstructions
to check if some of the utils modules end with corresponding string. - update migrating guide to reflect this change
This example makes it seem like this can only be a single string and not an array? Not sure if it'd add too much complexity to support multiple utils modules.
For example a user could have many custom selectors each imported from a different module. Probably not common, but just calling it out.
Originally posted by @CreativeTechGuy in #312 (comment)