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