Skip to content

Commit f94db7d

Browse files
committed
Include test files in prettier formatting
1 parent c3224bd commit f94db7d

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

.prettierignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
/dist
2-
/tests
32
/.github
43
package-lock.json

tests/index.test.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ describe('JSON Schema Kit', () => {
145145
description: 'A person object',
146146
title: 'Person',
147147
additionalProperties: true,
148-
}
148+
},
149149
)
150150
expect(result).toEqual({
151151
type: 'object',
@@ -207,7 +207,7 @@ describe('JSON Schema Kit', () => {
207207
},
208208
{
209209
$defs: { person: personSchema },
210-
}
210+
},
211211
)
212212

213213
expect(result).toEqual({
@@ -272,7 +272,7 @@ describe('JSON Schema Kit', () => {
272272
object({
273273
id: integer(),
274274
name: string(),
275-
})
275+
}),
276276
)
277277
expect(result).toEqual({
278278
type: 'array',
@@ -475,7 +475,7 @@ describe('JSON Schema Kit', () => {
475475
},
476476
{
477477
$defs: { person },
478-
}
478+
},
479479
)
480480

481481
expect(team).toEqual({

0 commit comments

Comments
 (0)