Skip to content

Commit 507b025

Browse files
committed
2 parents d36e89a + 34d459b commit 507b025

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

README.md

+12
Original file line numberDiff line numberDiff line change
@@ -42,3 +42,15 @@ RSSParser.parseURL('https://www.reddit.com/.rss', function(err, parsed) {
4242
</script>
4343
```
4444

45+
### Running Tests
46+
The tests run the RSS parser for several sample RSS feeds in `test/input` and outputs the resulting JSON into `test/output`. If there are any changes to the output files the tests will fail.
47+
48+
To check if your changes affect the output of any test cases, run
49+
50+
`npm test`
51+
52+
To update the output files with your changes, run
53+
54+
`WRITE_GOLDEN=true npm test`
55+
56+

0 commit comments

Comments
 (0)