Compare commits
2 Commits
02e05930f1
...
90745e02d5
| Author | SHA1 | Date | |
|---|---|---|---|
| 90745e02d5 | |||
| df24fcf7e8 |
@@ -25,7 +25,7 @@ describe('API-Endpoints: list', () => {
|
||||
expect(response.status).toBe(401);
|
||||
|
||||
const json = await response.json();
|
||||
const errorObj = { error: 'Unauthorized' }
|
||||
const errorObj = { error: 'Unauthorized' };
|
||||
expect(json).toEqual(errorObj);
|
||||
});
|
||||
|
||||
|
||||
@@ -10,7 +10,7 @@ export default defineConfig({
|
||||
extends: './vite.config.ts',
|
||||
plugins: [svelteTesting()],
|
||||
test: {
|
||||
name: 'client-logic',
|
||||
name: 'business-logic and API',
|
||||
environment: 'jsdom',
|
||||
clearMocks: true,
|
||||
include: ['tests/**/*.{test,spec}.{js,ts}', 'src/**/*.svelte.{test,spec}.{js,ts}'],
|
||||
|
||||
Reference in New Issue
Block a user