(testName, ext)
| 4 | var _files = path.join(__dirname, '_files'); |
| 5 | |
| 6 | function getContents (testName, ext) { |
| 7 | try { |
| 8 | return fs.readFileSync(path.join(_files, testName + '.' + ext), 'utf8'); |
| 9 | } catch (ex) { |
| 10 | return null; |
| 11 | } |
| 12 | } |
| 13 | |
| 14 | function getView (testName) { |
| 15 | var view = getContents(testName, 'js'); |
no outgoing calls
no test coverage detected