mirror of
https://github.com/versia-pub/server.git
synced 2026-03-13 05:49:16 +01:00
chore: ♻️ Replace all @ts-ignore with @ts-expect-error
This commit is contained in:
parent
a8132e8d53
commit
2cf1537a7e
4 changed files with 6 additions and 6 deletions
|
|
@ -36,7 +36,7 @@ describe("DiskMediaDriver", () => {
|
|||
}))();
|
||||
|
||||
diskDriver = new DiskMediaDriver(mockConfig);
|
||||
// @ts-ignore: Replacing private property for testing
|
||||
// @ts-expect-error: Replacing private property for testing
|
||||
diskDriver.mediaHasher = mockMediaHasher;
|
||||
|
||||
// Mock fs.promises methods
|
||||
|
|
|
|||
|
|
@ -43,9 +43,9 @@ describe("S3MediaDriver", () => {
|
|||
}))();
|
||||
|
||||
s3Driver = new S3MediaDriver(mockConfig);
|
||||
// @ts-ignore: Replacing private property for testing
|
||||
// @ts-expect-error: Replacing private property for testing
|
||||
s3Driver.s3Client = mockS3Client;
|
||||
// @ts-ignore: Replacing private property for testing
|
||||
// @ts-expect-error: Replacing private property for testing
|
||||
s3Driver.mediaHasher = mockMediaHasher;
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue