- Reworked the tenant admin login page
- Updated the User model to implement Filament’s tenancy contracts - Seeded a ready-to-use demo tenant (user, tenant, active package, purchase) - Introduced a branded, translated 403 error page to replace the generic forbidden message for unauthorised admin hits - Removed the public “Register” links from the marketing header - hardened join event logic and improved error handling in the guest pwa.
This commit is contained in:
26
vitest.config.ts
Normal file
26
vitest.config.ts
Normal file
@@ -0,0 +1,26 @@
|
||||
import path from 'node:path';
|
||||
import { defineConfig } from 'vitest/config';
|
||||
import react from '@vitejs/plugin-react';
|
||||
|
||||
export default defineConfig({
|
||||
plugins: [react()],
|
||||
resolve: {
|
||||
alias: {
|
||||
'@': path.resolve(__dirname, 'resources/js'),
|
||||
'~': path.resolve(__dirname, 'resources/css'),
|
||||
},
|
||||
},
|
||||
test: {
|
||||
environment: 'jsdom',
|
||||
globals: true,
|
||||
setupFiles: ['./resources/js/setupTests.ts'],
|
||||
css: false,
|
||||
include: ['resources/js/**/*.test.{ts,tsx}'],
|
||||
reporters: 'default',
|
||||
coverage: {
|
||||
provider: 'v8',
|
||||
reportsDirectory: './coverage/unit',
|
||||
include: ['resources/js/admin/**/*.{ts,tsx}'],
|
||||
},
|
||||
},
|
||||
});
|
||||
Reference in New Issue
Block a user