Update package dependencies to vitest v4.0.16 and enhance role management in auth utilities with new role-checking functions in tests
Some checks failed
Code Analysis (JS/Vue) / analyze (push) Failing after 57s
Some checks failed
Code Analysis (JS/Vue) / analyze (push) Failing after 57s
This commit is contained in:
@@ -64,6 +64,10 @@ global.createError = ({ statusCode = 500, statusMessage, message }: any) => {
|
||||
|
||||
global.useRuntimeConfig = () => ({
|
||||
encryptionKey: 'test-encryption-key',
|
||||
smtpHost: 'localhost',
|
||||
smtpPort: 1025,
|
||||
smtpUser: 'test',
|
||||
smtpPass: 'pass',
|
||||
smtp: {
|
||||
host: 'localhost',
|
||||
port: 1025,
|
||||
|
||||
Reference in New Issue
Block a user