(path?: string, content?: string)
| 24 | } from './template'; |
| 25 | |
| 26 | function _entry(path?: string, content?: string): FileEntry { |
| 27 | if (!path) { |
| 28 | path = 'a/b/c'; |
| 29 | } |
| 30 | if (!content) { |
| 31 | content = 'hello world'; |
| 32 | } |
| 33 | |
| 34 | return { |
| 35 | path: normalize(path), |
| 36 | content: Buffer.from(content), |
| 37 | }; |
| 38 | } |
| 39 | |
| 40 | describe('applyPathTemplate', () => { |
| 41 | function _applyPathTemplate(path: string, options: {}): string | null { |
no test coverage detected