(filePath: string, componentName: string, extension: GeneratableExtension)
| 152 | * added) |
| 153 | */ |
| 154 | const getFilepathForFile = (filePath: string, componentName: string, extension: GeneratableExtension): string => |
| 155 | isTest(extension) |
| 156 | ? normalizePath(join(filePath, 'test', `${componentName}.${extension}`)) |
| 157 | : normalizePath(join(filePath, `${componentName}.${extension}`)); |
| 158 | |
| 159 | /** |
| 160 | * Get the boilerplate for a file and write it to disk |
no test coverage detected