2 Commits

Author SHA1 Message Date
90745e02d5 rename test description to match tests done 2025-09-23 09:36:46 +02:00
df24fcf7e8 formatting 2025-09-23 09:36:04 +02:00
2 changed files with 2 additions and 2 deletions

View File

@@ -25,7 +25,7 @@ describe('API-Endpoints: list', () => {
expect(response.status).toBe(401); expect(response.status).toBe(401);
const json = await response.json(); const json = await response.json();
const errorObj = { error: 'Unauthorized' } const errorObj = { error: 'Unauthorized' };
expect(json).toEqual(errorObj); expect(json).toEqual(errorObj);
}); });

View File

@@ -10,7 +10,7 @@ export default defineConfig({
extends: './vite.config.ts', extends: './vite.config.ts',
plugins: [svelteTesting()], plugins: [svelteTesting()],
test: { test: {
name: 'client-logic', name: 'business-logic and API',
environment: 'jsdom', environment: 'jsdom',
clearMocks: true, clearMocks: true,
include: ['tests/**/*.{test,spec}.{js,ts}', 'src/**/*.svelte.{test,spec}.{js,ts}'], include: ['tests/**/*.{test,spec}.{js,ts}', 'src/**/*.svelte.{test,spec}.{js,ts}'],