Skip to content

Commit

Permalink
fix: readme template for generate-bot
Browse files Browse the repository at this point in the history
updating the README to look prettier
  • Loading branch information
sofisl committed Feb 14, 2020
1 parent 10aca3a commit 8671a0c
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 8 deletions.
9 changes: 5 additions & 4 deletions packages/generate-bot/__snapshots__/generate-bot.js
Original file line number Diff line number Diff line change
@@ -1,19 +1,20 @@
exports["file structure checks that the file content carries over 1"] = `
helloWorld
# helloWorld
Instructions are provided in [googleapis/repo-automation-bots](https://github.com/googleapis/repo-automation-bots/blob/master/README.md) for deploying and testing your bots.
This bot uses nock for mocking requests to GitHub, and snap-shot-it for capturing responses; This allows updates to the API surface to be treated as a visual diff, rather than tediously asserting against each field.
Running tests:
## Running tests:
\`npm run test\`
To update snapshots:
## To update snapshots:
\`npm run test:snap\`
Contributing
## Contributing
If you have suggestions for how helloWorld could be improved, or want to report a bug, open an issue! We'd love all and any contributions.
For more, check out the Contributing Guide.
Expand Down
9 changes: 5 additions & 4 deletions packages/generate-bot/templates/README.md
Original file line number Diff line number Diff line change
@@ -1,18 +1,19 @@
{{programName}}
# {{programName}}

Instructions are provided in [googleapis/repo-automation-bots](https://github.com/googleapis/repo-automation-bots/blob/master/README.md) for deploying and testing your bots.

This bot uses nock for mocking requests to GitHub, and snap-shot-it for capturing responses; This allows updates to the API surface to be treated as a visual diff, rather than tediously asserting against each field.

Running tests:
## Running tests:

`npm run test`

To update snapshots:
## To update snapshots:

`npm run test:snap`

Contributing
## Contributing

If you have suggestions for how {{programName}} could be improved, or want to report a bug, open an issue! We'd love all and any contributions.

For more, check out the Contributing Guide.
Expand Down

0 comments on commit 8671a0c

Please sign in to comment.