test delete mutation

This commit is contained in:
Namrata Jha
2021-12-21 18:14:06 +00:00
committed by GitHub
parent c8087bcc70
commit db4d66086a
2 changed files with 4 additions and 2 deletions

3
dist/index.js vendored
View File

@@ -72,7 +72,8 @@ function finalIds(input) {
else {
input.numDeleted = input.numDeleted + toDelete;
}
return value.map(info => info.id).slice(0, toDelete);
//return value.map(info => info.id).slice(0, toDelete)
return [];
}
else
return [];

View File

@@ -96,7 +96,8 @@ export function finalIds(input: Input): Observable<string[]> {
} else {
input.numDeleted = input.numDeleted + toDelete
}
return value.map(info => info.id).slice(0, toDelete)
//return value.map(info => info.id).slice(0, toDelete)
return []
} else return []
})
)