upload file size limit increased in server.ts
All checks were successful
Deploy to Web Server flyer-crawler.projectium.com / deploy (push) Successful in 1m12s
All checks were successful
Deploy to Web Server flyer-crawler.projectium.com / deploy (push) Successful in 1m12s
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
// vitest.config.integration.ts
|
||||
import path from 'path';
|
||||
import { defineConfig } from 'vitest/config';
|
||||
|
||||
/**
|
||||
@@ -6,6 +7,14 @@ import { defineConfig } from 'vitest/config';
|
||||
* It runs tests in a Node.js environment, as they need to interact with a live backend server.
|
||||
*/
|
||||
export default defineConfig({
|
||||
// Define the project root and aliases, just like in the main vite.config.ts.
|
||||
// This is crucial for the test runner to correctly resolve module paths.
|
||||
root: '.',
|
||||
resolve: {
|
||||
alias: {
|
||||
'@': path.resolve(process.cwd(), './src'),
|
||||
},
|
||||
},
|
||||
test: {
|
||||
name: 'integration',
|
||||
environment: 'node',
|
||||
|
||||
Reference in New Issue
Block a user