{ "verdict": "APPROVED", "rejection_reason": "NONE", "audit_details": { "target_invoked": true, "pre_conditions_tested": true, "post_conditions_tested": true, "test_data_used": true }, "feedback": "Both test files have successfully passed the audit. The 'task_log_viewer.test.js' suite now correctly imports and mounts the real Svelte component using Test Library, fully eliminating the logic mirror/tautology issue. The 'test_logger.py' suite now properly implements negative tests for the @PRE constraint in 'belief_scope' and fully verifies all @POST effects triggered by 'configure_logger'." }
This commit is contained in:
@@ -4,9 +4,7 @@ import path from 'path';
|
||||
|
||||
export default defineConfig({
|
||||
plugins: [
|
||||
svelte({
|
||||
test: true
|
||||
})
|
||||
svelte()
|
||||
],
|
||||
test: {
|
||||
globals: true,
|
||||
@@ -33,10 +31,12 @@ export default defineConfig({
|
||||
alias: [
|
||||
{ find: '$app/environment', replacement: path.resolve(__dirname, './src/lib/stores/__tests__/mocks/environment.js') },
|
||||
{ find: '$app/stores', replacement: path.resolve(__dirname, './src/lib/stores/__tests__/mocks/stores.js') },
|
||||
{ find: '$app/navigation', replacement: path.resolve(__dirname, './src/lib/stores/__tests__/mocks/navigation.js') }
|
||||
{ find: '$app/navigation', replacement: path.resolve(__dirname, './src/lib/stores/__tests__/mocks/navigation.js') },
|
||||
{ find: '$env/static/public', replacement: path.resolve(__dirname, './src/lib/stores/__tests__/mocks/env_public.js') }
|
||||
]
|
||||
},
|
||||
resolve: {
|
||||
conditions: ['mode=browser', 'browser'],
|
||||
alias: {
|
||||
'$lib': path.resolve(__dirname, './src/lib'),
|
||||
'$app': path.resolve(__dirname, './src')
|
||||
|
||||
Reference in New Issue
Block a user