🐛Fix bug with sending files with response stream
Also updated another dependencies and removed old version of the fastify multipart plugin
This commit is contained in:
committed by
Anton Shepilov
parent
999e3087e8
commit
2884193072
@@ -22,15 +22,14 @@ describe("the Drive feature", () => {
|
||||
configGetSpy = jest.spyOn(config, "get");
|
||||
|
||||
configHasSpy.mockImplementation((setting: string) => {
|
||||
const value = jest.requireActual("config").has(setting);
|
||||
return value;
|
||||
return jest.requireActual("config").has(setting);
|
||||
});
|
||||
configGetSpy.mockImplementation((setting: string) => {
|
||||
if (setting === "drive.featureUserQuota") {
|
||||
return true;
|
||||
}
|
||||
if (setting === "drive.defaultUserQuota") {
|
||||
return 2000000;
|
||||
return 1000000;
|
||||
}
|
||||
return jest.requireActual("config").get(setting);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user