Skip to content

Commit

Permalink
Address last round of comments
Browse files Browse the repository at this point in the history
  • Loading branch information
wschurman committed Jul 1, 2021
1 parent d5e18c4 commit 9ef9fe7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/entity/src/utils/testing/StubDatabaseAdapter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ export default class StubDatabaseAdapter<T> extends EntityDatabaseAdapter<T> {
return 1;
}

return aField > bField || aField === null
return aField > bField
? -1
: aField < bField
? 1
Expand All @@ -101,7 +101,7 @@ export default class StubDatabaseAdapter<T> extends EntityDatabaseAdapter<T> {
return 1;
}

return bField > aField || bField === null
return bField > aField
? -1
: bField < aField
? 1
Expand Down

0 comments on commit 9ef9fe7

Please sign in to comment.