mirror of
https://github.com/versia-pub/server.git
synced 2026-03-13 13:59:16 +01:00
Fix media code, clean up old types
This commit is contained in:
parent
852efaea50
commit
0e4d6b401c
34 changed files with 137 additions and 1204 deletions
|
|
@ -16,7 +16,6 @@ describe("MediaBackend", () => {
|
|||
let mockConfig: ConfigType;
|
||||
|
||||
beforeEach(() => {
|
||||
mediaBackend = new MediaBackend(MediaBackendType.S3);
|
||||
mockConfig = {
|
||||
media: {
|
||||
conversion: {
|
||||
|
|
@ -24,6 +23,7 @@ describe("MediaBackend", () => {
|
|||
},
|
||||
},
|
||||
} as ConfigType;
|
||||
mediaBackend = new MediaBackend(mockConfig, MediaBackendType.S3);
|
||||
});
|
||||
|
||||
it("should initialize with correct backend type", () => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue