From 5dabbbe64b9a7c145d6d5ff4140b997867d7e427 Mon Sep 17 00:00:00 2001 From: Max Leiter Date: Wed, 6 Apr 2022 10:48:36 -0700 Subject: [PATCH] client/server: re-add removed config test line, remove unnecessary import --- client/pages/index.tsx | 1 - server/src/lib/__tests__/config.ts | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/client/pages/index.tsx b/client/pages/index.tsx index 2ab906c..89c28fd 100644 --- a/client/pages/index.tsx +++ b/client/pages/index.tsx @@ -1,5 +1,4 @@ import styles from '@styles/Home.module.css' -import Header from '@components/header' import PageSeo from '@components/page-seo' import HomeComponent from '@components/home' import { Page, Text } from '@geist-ui/core' diff --git a/server/src/lib/__tests__/config.ts b/server/src/lib/__tests__/config.ts index a577891..8a9aaca 100644 --- a/server/src/lib/__tests__/config.ts +++ b/server/src/lib/__tests__/config.ts @@ -13,6 +13,7 @@ describe("Config", () => { expect(result).toHaveProperty("enable_admin") expect(result).toHaveProperty("secret_key") expect(result).toHaveProperty("registration_password") + expect(result).toHaveProperty("welcome_content") expect(result).toHaveProperty("welcome_title") })