From 78f1757dc6b2fa1f0dfdc2e118ae12f0a70bc4b8 Mon Sep 17 00:00:00 2001 From: phntxx Date: Wed, 20 Apr 2022 22:40:06 +0200 Subject: [PATCH] Update README, fix tests --- README.md | 5 ----- src/test/components/greeter.spec.tsx | 4 ++-- 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 399c6ed..af81e20 100644 --- a/README.md +++ b/README.md @@ -1,10 +1,8 @@ # Dashboard -[![CircleCI][shield-circleci]][circleci] [![Docker Cloud Build Status][shield-docker]][docker] [![Docker Image Size (latest)][shield-docker-image]][docker] [![codecov][shield-codecov]][codecov] -[![Dependencies][shield-deps]][repo] [![GitHub license][shield-license]][license] ![Alt text](/screenshot.png?raw=true "screenshot") @@ -259,10 +257,7 @@ In order for the imprint-modal to show up, make sure your `imprint.json` resembl [codecov]: https://codecov.io/gh/phntxx/dashboard [repo]: https://github.com/phntxx/dashboard [license]: https://github.com/phntxx/dashboard/LICENSE -[circleci]: https://circleci.com/gh/phntxx/dashboard [shield-docker]: https://img.shields.io/docker/cloud/build/phntxx/dashboard [shield-docker-image]: https://img.shields.io/docker/image-size/phntxx/dashboard/latest -[shield-circleci]: https://circleci.com/gh/phntxx/dashboard.svg?style=shield [shield-codecov]: https://codecov.io/gh/phntxx/dashboard/branch/master/graph/badge.svg [shield-license]: https://img.shields.io/github/license/phntxx/dashboard.svg -[shield-deps]: https://img.shields.io/david/phntxx/dashboard diff --git a/src/test/components/greeter.spec.tsx b/src/test/components/greeter.spec.tsx index 6b1b0a5..2e3b148 100644 --- a/src/test/components/greeter.spec.tsx +++ b/src/test/components/greeter.spec.tsx @@ -100,7 +100,7 @@ it("getExtension test", () => { }); it("getDateString Test", () => { - let dates: [Date] = [ + let dates: Date[] = [ new Date("2022-04-04T00:00:00"), new Date("2022-04-05T00:00:00"), new Date("2022-04-06T00:00:00"), @@ -110,7 +110,7 @@ it("getDateString Test", () => { new Date("2022-04-10T00:00:00"), ]; - let results: [string] = [ + let results: string[] = [ "Monday, April 4th 2022", "Tuesday, April 5th 2022", "Wednesday, April 6th 2022",