Skip to content

Commit 0cd5b85

Browse files
committed
fix js tests
1 parent ef2ea57 commit 0cd5b85

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

site/src/pages/TemplateSettingsPage/TemplateSettingsPage.test.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ const fillAndSubmitForm = async ({
3434
description,
3535
default_ttl_ms,
3636
icon,
37-
}: Omit<Required<UpdateTemplateMeta>, "min_autostart_interval_ms">) => {
37+
}: Required<UpdateTemplateMeta>) => {
3838
const nameField = await screen.findByLabelText(FormLanguage.nameLabel)
3939
await userEvent.clear(nameField)
4040
await userEvent.type(nameField, name)

site/src/testHelpers/entities.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,6 @@ export const MockTemplate: TypesGen.Template = {
199199
},
200200
description: "This is a test description.",
201201
default_ttl_ms: 24 * 60 * 60 * 1000,
202-
min_autostart_interval_ms: 60 * 60 * 1000,
203202
created_by_id: "test-creator-id",
204203
created_by_name: "test_creator",
205204
icon: "/icon/code.svg",

0 commit comments

Comments
 (0)