Closed SimonErm closed 3 years ago
Currently the removeAnnotation method doesn't remove the specified annotation, because slice is used like splice for removal.
This PR adds a test for deleteAnnotation and fixes the behaviour by using slice in the correct way to delete an element of the array.
References:
Currently the removeAnnotation method doesn't remove the specified annotation, because slice is used like splice for removal.
This PR adds a test for deleteAnnotation and fixes the behaviour by using slice in the correct way to delete an element of the array.
References: