Skip to content

Commit 34422c2

Browse files
authored
chore(openapi-fetch): Split apart tests (openapi-ts#1895)
* Split apart tests * Update deps
1 parent 3c5d7b4 commit 34422c2

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

CONTRIBUTING.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ While best practices for commit messages are encouraged (e.g. start with an impe
3232

3333
When working locally, run:
3434

35-
```bash
35+
```sh
3636
pnpm run dev
3737
```
3838

@@ -101,35 +101,35 @@ This library uses [Vitest](https://vitest.dev/) for testing. There’s a great [
101101

102102
To run the entire test suite once, run:
103103

104-
```bash
104+
```sh
105105
pnpm test
106106
```
107107

108108
To run an individual test:
109109

110-
```bash
110+
```sh
111111
pnpm test -- [partial filename]
112112
```
113113

114114
To start the entire test suite in watch mode:
115115

116-
```bash
116+
```sh
117117
npx vitest
118118
```
119119

120120
### Running linting
121121

122122
Linting is handled via [Biome](https://biomejs.dev), a faster ESLint replacement. It was installed with `pnpm i` and can be run with:
123123

124-
```bash
124+
```sh
125125
pnpm run lint
126126
```
127127

128128
### Updating snapshot examples
129129

130130
⚠️ This may break tests if schemas have been updated
131131

132-
```bash
132+
```sh
133133
pnpm run update:examples
134134
```
135135

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@
7474
"esbuild": "^0.20.2",
7575
"execa": "^8.0.1",
7676
"strip-ansi": "^7.1.0",
77-
"typescript": "^5.4.5",
77+
"typescript": "^5.5.4",
7878
"vite-node": "^2.0.5"
7979
}
8080
}

0 commit comments

Comments
 (0)