removeAllRelatedApiPageUnitTest method

void removeAllRelatedApiPageUnitTest(
  1. String featureName,
  2. String pageName
)

Implementation

void removeAllRelatedApiPageUnitTest(String featureName, String pageName) {
  final pathTestPage =
      join(current, 'features', featureName, 'test', '${pageName}_test');
  removeFile(join(pathTestPage, 'mapper.dart'));
  removeDir(join(pathTestPage, 'json'));
  removeDir(join(pathTestPage, 'data'));
  removeDir(join(pathTestPage, 'domain'));
  removeDir(join(pathTestPage, 'presentation', 'bloc'));
}