chore: fix ESLint issues and Test Mocks

This commit is contained in:
Danny Avila 2025-07-24 11:20:16 -04:00
parent a17826fe39
commit cec1ec0c79
No known key found for this signature in database
GPG key ID: BF31EEB2C5CA0956
7 changed files with 119 additions and 17 deletions

View file

@ -11,7 +11,6 @@ let File;
let Agent;
let AclEntry;
let User;
let AccessRole;
let modelsToCleanup = [];
describe('File Access Control', () => {
@ -36,7 +35,6 @@ describe('File Access Control', () => {
Agent = dbModels.Agent;
AclEntry = dbModels.AclEntry;
User = dbModels.User;
AccessRole = dbModels.AccessRole;
// Seed default roles
await seedDefaultRoles();
@ -149,7 +147,7 @@ describe('File Access Control', () => {
});
// Create agent
const agent = await createAgent({
await createAgent({
id: agentId,
name: 'Test Agent',
author: authorId,