Skip to content

Commit

Permalink
updated objectSubset helper method
Browse files Browse the repository at this point in the history
  • Loading branch information
LucaLoubser committed Sep 21, 2023
1 parent 020b3c0 commit 0bf5c79
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions apps/api-e2e/src/api/api.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -89,11 +89,9 @@ function objectSubset(target: any, obj: any ): boolean{
// eslint-disable-next-line no-prototype-builtins
if(target.hasOwnProperty(key) && element.hasOwnProperty(key)){
if( element.key != target.key){
console.log(key);
return false;
}
}else{
console.log(key);
return false;
}
}
Expand Down

0 comments on commit 0bf5c79

Please sign in to comment.