diff options
| author | Leitwolf11 | 2026-11-13 02:00:34 +0300 |
|---|---|---|
| committer | Leitwolf11 | 2026-11-13 02:00:34 +0300 |
| commit | 189b15ca0909033a40626bc8f600686e561b9cbb (patch) | |
| tree | 9c3ed941ace1e927115fe4de58a7252b4dd46d95 | |
| parent | 9a6cfb275189db7cb8d4a35917678d067b3e709a (diff) | |
| download | progmaweb-189b15ca0909033a40626bc8f600686e561b9cbb.tar.gz | |
Format the catalog and the site tests with Prettier
| -rw-r--r-- | apps/web/lib/products.ts | 5 | ||||
| -rw-r--r-- | apps/web/tests/sites.test.mjs | 5 |
2 files changed, 2 insertions, 8 deletions
diff --git a/apps/web/lib/products.ts b/apps/web/lib/products.ts index b4efc6e..afc9bc9 100644 --- a/apps/web/lib/products.ts +++ b/apps/web/lib/products.ts @@ -7,10 +7,7 @@ import type { Locale } from "./localization"; * The products of product.progmasoft.com. Each one has a page there and its * own site; the catalog only introduces it and leads on. */ -export const productSlugs = [ - "tazel", - "catch3", -] as const; +export const productSlugs = ["tazel", "catch3"] as const; export type ProductSlug = (typeof productSlugs)[number]; export function isProductSlug(value: string): value is ProductSlug { diff --git a/apps/web/tests/sites.test.mjs b/apps/web/tests/sites.test.mjs index cf0a19f..8083e76 100644 --- a/apps/web/tests/sites.test.mjs +++ b/apps/web/tests/sites.test.mjs @@ -38,10 +38,7 @@ test("every language has the same home, catalog and product-site text", () => { }); test("the catalog lists the products the user named, each with a site", () => { - assert.deepEqual( - [...productSlugs], - ["tazel", "catch3"], - ); + assert.deepEqual([...productSlugs], ["tazel", "catch3"]); for (const slug of productSlugs) { assert.match(products[slug].site, /^https:\/\//, slug); assert.match( |