(private context: Pick<Context, 'patterns' | 'recipes' | 'config'>)
| 19 | patternPropertiesByJsxName = new Map<string, Set<string>>() |
| 20 | |
| 21 | constructor(private context: Pick<Context, 'patterns' | 'recipes' | 'config'>) { |
| 22 | this.nodes = [...context.patterns.details, ...context.recipes.details] |
| 23 | this.names = [this.factoryName, ...this.nodes.map((node) => node.jsxName)] |
| 24 | |
| 25 | this.assignRecipeMatcher() |
| 26 | this.assignPatternMatcher() |
| 27 | } |
| 28 | |
| 29 | assignRecipeMatcher() { |
| 30 | if (!this.isEnabled) return |
nothing calls this directly
no test coverage detected