diff --git a/README.md b/README.md
index 4cbf18d..b117973 100644
--- a/README.md
+++ b/README.md
@@ -72,31 +72,30 @@ npm run dev -- --open
Quick overview of the structure of the codebase:
-
-* `.reuse` - This folder holds configuration for [REUSE](https://reuse.software/)
-* `.vscode` - This folder holds configuration for Visual Studio Code
-* `LICENSES` - Used in conjunction with REUSE
-* `src` - The source code of the web application (server and client)
-* `src-tauri` - Glue code for Tauri to turn it into a native application
-* `static` - Static assets (FavIcon)
-* `tests` - Mainly Svelte component tests for the client
-* `.eslintignore` and `.eslintrc.cjs` - ESLint ignore and configuration files
-* `.gitignore` - Files and folders not to be subjected to version control
-* `.node-version` - Minimum of supported NodeJS version
-* `*.license` - Files to be used in conjunction with REUSE
-* `.npmrc` - NPM configuration file
-* `.prettierignore` and `.prettierrc` - Prettier ignore and configuration files
-* `COPYING` - License of this project under AGPL
-* `package-lock.json` and `package.json` - NPM package lockfile for dependencies
+- `.reuse` - This folder holds configuration for [REUSE](https://reuse.software/)
+- `.vscode` - This folder holds configuration for Visual Studio Code
+- `LICENSES` - Used in conjunction with REUSE
+- `src` - The source code of the web application (server and client)
+- `src-tauri` - Glue code for Tauri to turn it into a native application
+- `static` - Static assets (FavIcon)
+- `tests` - Mainly Svelte component tests for the client
+- `.eslintignore` and `.eslintrc.cjs` - ESLint ignore and configuration files
+- `.gitignore` - Files and folders not to be subjected to version control
+- `.node-version` - Minimum of supported NodeJS version
+- `*.license` - Files to be used in conjunction with REUSE
+- `.npmrc` - NPM configuration file
+- `.prettierignore` and `.prettierrc` - Prettier ignore and configuration files
+- `COPYING` - License of this project under AGPL
+- `package-lock.json` and `package.json` - NPM package lockfile for dependencies
and meta information about this project
-* `playwright.config.ts` - Playwright End-to-End test configuration
-* `postcss.config.cjs` - PostCSS postprocessor configuration file
-* `README.md` - This document
-* `svelte.config.js` - Svelte configuration file
-* `tailwind.config.js` - Tailwind CSS configuration file
-* `tsconfig.json` - TypeScript configuration file
-* `vite.config.ts` - Vite bundler configuration file
-* `vitest.config.ts` - Vitest test runner configuration file
+- `playwright.config.ts` - Playwright End-to-End test configuration
+- `postcss.config.cjs` - PostCSS postprocessor configuration file
+- `README.md` - This document
+- `svelte.config.js` - Svelte configuration file
+- `tailwind.config.js` - Tailwind CSS configuration file
+- `tsconfig.json` - TypeScript configuration file
+- `vite.config.ts` - Vite bundler configuration file
+- `vitest.config.ts` - Vitest test runner configuration file
## Building
diff --git a/src/lib/components/atoms/Created.svelte b/src/lib/components/atoms/Created.svelte
index b4bb1fe..440a1bd 100644
--- a/src/lib/components/atoms/Created.svelte
+++ b/src/lib/components/atoms/Created.svelte
@@ -27,5 +27,6 @@ You should have received a copy of the GNU Affero General Public License along w
{#if created_at && created_at_formatted}
- created
+ created
{/if}
diff --git a/tests/components/atoms/Created.test.ts b/tests/components/atoms/Created.test.ts
index b77ad40..e3f4bc6 100644
--- a/tests/components/atoms/Created.test.ts
+++ b/tests/components/atoms/Created.test.ts
@@ -73,7 +73,7 @@ describe('Created.svelte', () => {
it('should render formatted in that locale', () => {
// Arrange
const created_at = new Date();
- const locale = 'de'
+ const locale = 'de';
// Act
const { container } = render(Created, { created_at, locale });
@@ -81,7 +81,10 @@ describe('Created.svelte', () => {
// Assert
expect(container.textContent).not.toEqual('');
expect(screen.getByText(new RegExp(created_at.getFullYear()))).toBeDefined();
- expect(screen.getByText(new RegExp(created_at.getFullYear()))).toHaveAttribute('datetime', created_at.toISOString());
+ expect(screen.getByText(new RegExp(created_at.getFullYear()))).toHaveAttribute(
+ 'datetime',
+ created_at.toISOString()
+ );
});
});
});