You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The enforce-close-testing-module rule doesn't support custom method names that could replace the testingModule.close() and Test.createTestingModule() calls. We need to add that option so users can create utility methods that are proxies for those calls.
Acceptance Criteria
The user can define an option with the enforce-close-testing-module rule so that ESLint recognizes custom functions:
Description
The enforce-close-testing-module rule doesn't support custom method names that could replace the
testingModule.close()
andTest.createTestingModule()
calls. We need to add that option so users can create utility methods that are proxies for those calls.Acceptance Criteria
The user can define an option with the
enforce-close-testing-module
rule so that ESLint recognizes custom functions:The configuration above defines:
close()
as a custom function that should be interpreted the same astestingModule.close()
setupTest()
as a custom function that should be interpreted the same asTest.createTestingModule()
The text was updated successfully, but these errors were encountered: