Skip to content

Commit a131e35

Browse files
38elementseddyerburgh
authored andcommitted
docs: fix style of guides/using-with-typescript.md (#895)
1 parent 7a04ff4 commit a131e35

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Diff for: docs/guides/using-with-typescript.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ TypeScript is a popular superset of JavaScript that adds types and classes on to
66

77
In this guide, we'll walk through how to setup a testing setup for a TypeScript project using Jest and Vue Test Utils from a basic Vue CLI TypeScript setup.
88

9-
#### Adding TypeScript
9+
### Adding TypeScript
1010

1111
First you need to create a project. If you don't have Vue CLI installed, install it globally:
1212

@@ -28,7 +28,7 @@ If you want a more detailed guide on setting up Vue with TypeScript, checkout th
2828

2929
The next step is to add Jest to the project.
3030

31-
#### Setting up Jest
31+
### Setting up Jest
3232

3333
Jest is a test runner developed by Facebook, aiming to deliver a battery-included unit testing solution. You can learn more about Jest on its [official documentation](https://facebook.github.io/jest/).
3434

@@ -109,7 +109,7 @@ Next, we need to tell Jest to process JavaScript test files with `ts-jest` by ad
109109

110110
### Placing Test Files
111111

112-
By default, Jest will recursively pick up all files that have a `.spec.js` or `.test.js` extension in the entire project.
112+
By default, Jest will recursively pick up all files that have a `.spec.js` or `.test.js` extension in the entire project.
113113

114114
To run test files with a `.ts` extension, we need to change the `testRegex` in the config section in the `package.json` file.
115115

0 commit comments

Comments
 (0)