(rootPath)
| 291 | } |
| 292 | |
| 293 | function setupProject(rootPath) { |
| 294 | const path = require('path'); |
| 295 | const Project = require('../../lib/models/project'); |
| 296 | const MockCLI = require('./mock-cli'); |
| 297 | |
| 298 | const packageContents = require(path.join(rootPath, 'package.json')); |
| 299 | let cli = new MockCLI(); |
| 300 | |
| 301 | return new Project(rootPath, packageContents, cli.ui, cli); |
| 302 | } |
| 303 | |
| 304 | module.exports = { |
| 305 | setupProject, |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…