Update README, fix tests

This commit is contained in:
phntxx 2022-04-20 22:40:06 +02:00
parent 78425f1115
commit 78f1757dc6
2 changed files with 2 additions and 7 deletions

View file

@ -1,10 +1,8 @@
# Dashboard # Dashboard
[![CircleCI][shield-circleci]][circleci]
[![Docker Cloud Build Status][shield-docker]][docker] [![Docker Cloud Build Status][shield-docker]][docker]
[![Docker Image Size (latest)][shield-docker-image]][docker] [![Docker Image Size (latest)][shield-docker-image]][docker]
[![codecov][shield-codecov]][codecov] [![codecov][shield-codecov]][codecov]
[![Dependencies][shield-deps]][repo]
[![GitHub license][shield-license]][license] [![GitHub license][shield-license]][license]
![Alt text](/screenshot.png?raw=true "screenshot") ![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 [codecov]: https://codecov.io/gh/phntxx/dashboard
[repo]: https://github.com/phntxx/dashboard [repo]: https://github.com/phntxx/dashboard
[license]: https://github.com/phntxx/dashboard/LICENSE [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]: https://img.shields.io/docker/cloud/build/phntxx/dashboard
[shield-docker-image]: https://img.shields.io/docker/image-size/phntxx/dashboard/latest [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-codecov]: https://codecov.io/gh/phntxx/dashboard/branch/master/graph/badge.svg
[shield-license]: https://img.shields.io/github/license/phntxx/dashboard.svg [shield-license]: https://img.shields.io/github/license/phntxx/dashboard.svg
[shield-deps]: https://img.shields.io/david/phntxx/dashboard

View file

@ -100,7 +100,7 @@ it("getExtension test", () => {
}); });
it("getDateString Test", () => { it("getDateString Test", () => {
let dates: [Date] = [ let dates: Date[] = [
new Date("2022-04-04T00:00:00"), new Date("2022-04-04T00:00:00"),
new Date("2022-04-05T00:00:00"), new Date("2022-04-05T00:00:00"),
new Date("2022-04-06T00:00:00"), new Date("2022-04-06T00:00:00"),
@ -110,7 +110,7 @@ it("getDateString Test", () => {
new Date("2022-04-10T00:00:00"), new Date("2022-04-10T00:00:00"),
]; ];
let results: [string] = [ let results: string[] = [
"Monday, April 4th 2022", "Monday, April 4th 2022",
"Tuesday, April 5th 2022", "Tuesday, April 5th 2022",
"Wednesday, April 6th 2022", "Wednesday, April 6th 2022",