Skip to content

Commit d57c315

Browse files
committed
chore: small typo
1 parent 7fd10c2 commit d57c315

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.continue/prompts/core-unit-test.prompt

+3-3
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: Generate unit tests for core utilities
44
Write jest tests for the provided code.
55
Use jest version ^29 (e.g. jest 29.7.0)
66

7-
Use best practices. Be clear and consise.
7+
Use best practices. Be clear and concise.
88
Aim for 100% code coverage where reasonable.
99
Multiple tests can be written, split up tests for best clarity and readability.
1010
Only use typescript, and if the file/code is not typescript, warn the user.
@@ -15,7 +15,7 @@ Use double quotes (or backticks if needed) for strings
1515
The code being tested is used in IDE extensions, and it:
1616
- accesses code workspaces through the IDE ("workspace directories")
1717
- persists extension-related data to the the local machine of the user ("global directory"), and
18-
- uses configuration via a `ConfigHandler`, which is stored in either the global directory (default) or accesed via a remote "control plane" using the `ControlPlaneClient`
18+
- uses configuration via a `ConfigHandler`, which is stored in either the global directory (default) or accessed via a remote "control plane" using the `ControlPlaneClient`
1919

2020
Jest testing setup includes
2121
- @core/test/jest.global-setup.ts initializes a temporary global directory, which is where files that store persisted extension data live.
@@ -31,7 +31,7 @@ Jest testing setup includes
3131

3232
Do NOT write tests for any files in `core/test`, only use them as helpers for testing other files. If no other files are provided, warn the user and write no tests.
3333

34-
IMPORTANT: Do NOT mock the fixtures above other than using `jest.spyOn`. DO mock 3rd party modules, etc. when sensible.
34+
IMPORTANT: Do NOT mock the fixtures above other than using `jest.spyOn`. DO mock 3rd party modules, etc. when sensible.
3535
Instead, generate actual mock files and data for operations
3636
Pure mocks should only be used to emulate specific network responses/error or hard-to-duplicate errors, or to prevent long-duration tests
3737

0 commit comments

Comments
 (0)