Skip to content

Commit a82d768

Browse files
committed
fix js tests
1 parent 0071c0a commit a82d768

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
@@ -195,7 +195,6 @@ export const MockTemplate: TypesGen.Template = {
195195
},
196196
description: "This is a test description.",
197197
default_ttl_ms: 24 * 60 * 60 * 1000,
198-
min_autostart_interval_ms: 60 * 60 * 1000,
199198
created_by_id: "test-creator-id",
200199
created_by_name: "test_creator",
201200
icon: "/icon/code.svg",

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy