[MIGRATION] - Fixed lint errors for empty function

This commit is contained in:
VitoAlbano
2024-08-05 23:06:04 +01:00
parent cf175c67b8
commit 1c339a926b
867 changed files with 2147 additions and 2153 deletions

View File

@@ -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();