| 1 | import { createProjectFile, createUserFile } from 'common/util'; |
| 2 | |
| 3 | const getName = filePath => filePath.split('/').pop(); |
| 4 | const getContent = filePath => require('!raw-loader!./' + filePath).default; |
| 5 | const readProjectFile = filePath => createProjectFile(getName(filePath), getContent(filePath)); |
| 6 | const readUserFile = filePath => createUserFile(getName(filePath), getContent(filePath)); |
no outgoing calls
no test coverage detected