Просмотр исходного кода

Deleted unnecessary method from mock

Taichi Masuyama 4 лет назад
Родитель
Сommit
3fb2ea3c43
1 измененных файлов с 0 добавлено и 5 удалено
  1. 0 5
      packages/slackbot-proxy/src/entities/relation-mock.ts

+ 0 - 5
packages/slackbot-proxy/src/entities/relation-mock.ts

@@ -53,11 +53,6 @@ export class RelationMock {
   @CreateDateColumn()
   expiredAtCommands: Date;
 
-  isExpiredCommands():boolean {
-    const now = Date.now();
-    return this.expiredAtCommands.getTime() < now;
-  }
-
   getDistanceInMillisecondsToExpiredAt(baseDate:Date):number {
     return differenceInMilliseconds(this.expiredAtCommands, baseDate);
   }