nodeSetupCheck function

Future nodeSetupCheck(
  1. String dir
)

Install node modules for test.

Implementation

Future nodeSetupCheck(String dir) async {
  if (nodeSetupNeeded(dir)) {
    await Shell(workingDirectory: dir).run('npm install');
  }
}