Updated packages and fixed identified CS and typo in sonar-project.properties
Some checks failed
Sonar / SonarQube (push) Has been cancelled

This commit is contained in:
Liviu Burcusel 2025-11-15 12:43:07 +01:00
parent defa605e45
commit b5b082bc5d
Signed by: liviu
GPG key ID: 6CDB37A4AD2C610C
6 changed files with 819 additions and 501 deletions

View file

@ -7,15 +7,14 @@ describe("Footer.vue", () => {
const mockDate = (year: number) => {
globalThis.Date = class extends RealDate {
constructor() {
super();
return new RealDate(`${year}-01-01`);
constructor(...args: any[]) {
super(args.length === 0 ? `${year}-01-01` : args[0]);
}
static now() {
return new RealDate(`${year}-01-01`).getTime();
}
};
} as any as DateConstructor;
};
afterEach(() => {