Skip to content

Commit a099c6c

Browse files
committed
chore: remove comment re brittle generated types
1 parent ea6be2c commit a099c6c

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

test/server/typegen.ts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,6 @@ import { app } from './utils'
22

33
test('typegen', async () => {
44
const { body } = await app.inject({ method: 'GET', path: '/generators/typescript' })
5-
// This is expected to be very brittle, as generated types can change a lot
6-
// without being breaking changes. Use `npm run test:update` to make life
7-
// easier.
85
expect(body).toMatchInlineSnapshot(`
96
"export type Json =
107
| string
@@ -355,9 +352,6 @@ test('typegen w/ one-to-one relationships', async () => {
355352
path: '/generators/typescript',
356353
query: { detect_one_to_one_relationships: 'true' },
357354
})
358-
// This is expected to be very brittle, as generated types can change a lot
359-
// without being breaking changes. Use `npm run test:update` to make life
360-
// easier.
361355
expect(body).toMatchInlineSnapshot(`
362356
"export type Json =
363357
| string

0 commit comments

Comments
 (0)