mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-10-08 14:51:32 +00:00
[MIGRATION] - Migrating to Jest - working but some tests fails
This commit is contained in:
@@ -61,12 +61,10 @@ describe('Upload', () => {
|
||||
|
||||
const file = createTestFileStream('testFile.txt');
|
||||
|
||||
uploadApi.uploadFile(file).catch(
|
||||
(error: any) => {
|
||||
assert.equal(error.status, 409);
|
||||
done();
|
||||
}
|
||||
);
|
||||
uploadApi.uploadFile(file).catch((error: any) => {
|
||||
assert.equal(error.status, 409);
|
||||
done();
|
||||
});
|
||||
});
|
||||
|
||||
it('upload file should get 200 and rename if the new name clashes with an existing file in the current parent folder and autorename is true', async () => {
|
||||
|
Reference in New Issue
Block a user