🤝 Shared with me (#71)

* 🚧 #46 Shared with me
  - added converter of DriveFile to dto with user information
  - updated version of jest to the latest for better compatibility with typescript and mocking class instances
  - added run configuration for unit tests

Co-authored-by: Romaric Mourgues <rmourgues@linagora.com>
This commit is contained in:
Anton Shepilov
2023-06-09 14:37:15 +02:00
committed by GitHub
parent f1bf507865
commit dfd25a234a
32 changed files with 3215 additions and 4560 deletions
@@ -21,10 +21,10 @@ describe("The Files feature", () => {
helpers = await TestHelpers.getInstance(platform)
});
afterAll(async done => {
afterAll(async () => {
await platform?.tearDown();
platform = null;
done();
});
describe("On user send files", () => {
@@ -67,8 +67,7 @@ describe("The Files feature", () => {
}, 120000);
it.skip("should save file and generate previews", async done => {
it.skip("should save file and generate previews", async () => {
for (const i in TestHelpers.ALL_FILES) {
const file = TestHelpers.ALL_FILES[i];
@@ -88,7 +87,7 @@ describe("The Files feature", () => {
}
}
done();
}, 1200000);
});
});