Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Maria Lorena Rodriguez Viruel committed Nov 22, 2024
1 parent 52919ac commit 5cbfdfc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/utils/couchdb-utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ export const conflictDeleteDoc = async (doc) => {
result.forEach((res) => {
if (res.error) {
console.log(`Failed to delete document with id ${doc._id}: ${res.reason}`);
}else {
} else {
const index = docs.findIndex(d => d._id === doc._id);
if (index !== -1) {
docs.splice(index, 1);
Expand Down

0 comments on commit 5cbfdfc

Please sign in to comment.