Skip to content

Commit 5dda344

Browse files
maellesckott
authored andcommitted
fixes to managing cassettes chapter
1 parent 547c26e commit 5dda344

File tree

1 file changed

+2
-11
lines changed

1 file changed

+2
-11
lines changed

15-cassettes.Rmd

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ repository to the public web, those files in the `.gitignore` file
2222
won't be shared in the public version.
2323

2424
When using `vcr` you may want to include your cassettes in the
25-
`.gitignore` file. You may wan to when your cassettes contain sensitive
25+
`.gitignore` file. You may want to when your cassettes contain sensitive
2626
data that you don't want to have on the internet & dont want to hide
2727
with [filter_sensitive_data](#api-keys-security).
2828

@@ -57,23 +57,14 @@ That way you can use the same cassette across multiple tests.
5757
## deleting cassettes
5858

5959
Removing a cassette is as easy as deleting in your file finder,
60-
or from the command line, or from within a text editor or RStudio.
60+
or from the command line, or from within a text editor or an IDE (RStudio, Positron, etc).
6161

6262
If you delete a cassette, on the next test run the cassette will
6363
be recorded again.
6464

6565
If you do want to re-record a test to a cassette, instead of
6666
deleting the file you can toggle [record modes](#record-modes).
6767

68-
## cassette file types
69-
70-
For right now the only persistence option is yaml. So all files
71-
have a `.yml` extension.
72-
73-
When other persister options are added, additional file types
74-
may be found. The next persister type is likely to be JSON,
75-
so if you use that option, you'd have `.json` files instead of
76-
`.yml` files.
7768

7869

7970
[gitignorefile]: https://guide.freecodecamp.org/git/gitignore/

0 commit comments

Comments
 (0)