Skip to content

Commit b242a55

Browse files
Merge pull request nestjs#3593 from tonyhallett/cache-decorator-logical-and
test(common): remove unnecessary logical and
2 parents eb0723c + 7b1bdfb commit b242a55

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

packages/common/test/decorators/cache.decorator.spec.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,10 @@ describe('@Cache', () => {
2727
it('should override global defaults for CacheKey and CacheTTL', () => {
2828
expect(Reflect.getMetadata(CACHE_KEY_METADATA, TestAll)).to.be.eql(
2929
'/a_different_cache_key',
30-
) &&
31-
expect(
32-
Reflect.getMetadata(CACHE_TTL_METADATA, TestAll),
33-
).to.be.greaterThan(9999);
30+
);
31+
expect(Reflect.getMetadata(CACHE_TTL_METADATA, TestAll)).to.be.greaterThan(
32+
9999,
33+
);
3434
});
3535

3636
it('should override only the TTL', () => {

0 commit comments

Comments
 (0)