chore: ran security check for OWASP top 10
Some checks failed
Deploy / deploy (push) Has been cancelled
Some checks failed
Deploy / deploy (push) Has been cancelled
This commit is contained in:
@@ -4,6 +4,7 @@ export default defineConfig({
|
||||
test: {
|
||||
environment: "node",
|
||||
include: ["tests/**/*.test.ts"],
|
||||
exclude: ["tests/security-misconfiguration.test.ts"],
|
||||
// run single-threaded to keep DB tests deterministic
|
||||
pool: "threads",
|
||||
poolOptions: { threads: { singleThread: true } },
|
||||
@@ -11,9 +12,8 @@ export default defineConfig({
|
||||
env: {
|
||||
NODE_ENV: "test",
|
||||
AUTH_DISABLED: "1",
|
||||
DATABASE_URL: "postgres://app:app@127.0.0.1:5432/skymoney",
|
||||
SEED_DEFAULT_BUDGET: "1"
|
||||
},
|
||||
setupFiles: ['tests/setup.ts'],
|
||||
},
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user