test function

Future<void> test(
  1. IShell shell
)

Unit Tests the source files for the current Node project

since 0.0.1

Implementation

Future<void> test(IShell shell) async {
  await _whenNodeProject('Unit Test', shell, () async {
    _log.info('Unit Testing...');
    await shell.run('npm test');
  });
}