Skip to content

Commit e998163

Browse files
committed
add used file names to prompt for generating test name
1 parent 942502d commit e998163

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/prompts/generateJestTestName.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
I will give you whole file that contains one or more Jest tests. I want you to think of good, meaningfull and human readable filename to store that test.
22

3+
Here is list of file names that are already taken and can't be used again:
4+
```json
5+
{{usedNames}}
6+
```
7+
38
Filename you create should always end with `.test.js` as extension since this is jest test.
49

510
Here is the file:

0 commit comments

Comments
 (0)