mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-09-17 14:21:29 +00:00
[MIGRATION] - Fixed lint errors for empty function
This commit is contained in:
@@ -58,7 +58,7 @@ describe('Node', () => {
|
||||
nodeMock.get404ChildrenNotExist();
|
||||
|
||||
nodesApi.listNodeChildren('b4cff62a-664d-4d45-9302-98723eac1319').then(
|
||||
() => {},
|
||||
() => { /* empty */ },
|
||||
(error) => {
|
||||
assert.equal(error.status, 404);
|
||||
done();
|
||||
@@ -102,7 +102,7 @@ describe('Node', () => {
|
||||
nodeMock.get404DeleteNotFound();
|
||||
|
||||
nodesApi.deleteNode('80a94ac8-test-47ad-864e-5d939424c47c').then(
|
||||
() => {},
|
||||
() => { /* empty */ },
|
||||
(error) => {
|
||||
assert.equal(error.status, 404);
|
||||
done();
|
||||
@@ -114,7 +114,7 @@ describe('Node', () => {
|
||||
nodeMock.get403DeletePermissionDenied();
|
||||
|
||||
nodesApi.deleteNode('80a94ac8-3ece-47ad-864e-5d939424c47c').then(
|
||||
() => {},
|
||||
() => { /* empty */ },
|
||||
() => {
|
||||
done();
|
||||
}
|
||||
@@ -142,7 +142,7 @@ describe('Node', () => {
|
||||
nodeMock.get404DeleteNotFound();
|
||||
|
||||
nodesApi.deleteNodes(['80a94ac8-3ece-47ad-864e-5d939424c47c', '80a94ac8-test-47ad-864e-5d939424c47c']).then(
|
||||
() => {},
|
||||
() => { /* empty */ },
|
||||
(error) => {
|
||||
assert.equal(error.status, 404);
|
||||
done();
|
||||
|
Reference in New Issue
Block a user