Commit the pubspec file
Future<void> commitPubspecFile(Directory testDir) => commitFile(testDir, 'pubspec.yaml');