FIX: tests

This commit is contained in:
marcos-silva-rodrigues
2025-07-11 11:36:23 -03:00
parent 66fea0722d
commit eb80967608
4 changed files with 24 additions and 0 deletions
@@ -8,6 +8,17 @@ import { RolesModule } from '../roles/roles.module';
import { PermissionsModule } from '../permissions/permissions.module';
// const client = new DucClient();
jest.mock('puppeteer', () => ({
launch: jest.fn().mockResolvedValue({
newPage: jest.fn().mockResolvedValue({
goto: jest.fn(),
evaluate: jest.fn(),
close: jest.fn()
}),
close: jest.fn()
})
}));
const logger = {
info: (...args) => args,