• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

safe-global / safe-client-gateway / 11367791522

16 Oct 2024 02:28PM UTC coverage: 90.575% (-0.6%) from 91.148%
11367791522

Pull #1988

github

PooyaRaki
Refactor unit tests, initializes postgres database on module startup, reverts v1 migration configuration
Pull Request #1988: OrmMigrationAndLogger

2653 of 3258 branches covered (81.43%)

Branch coverage included in aggregate %.

89 of 160 new or added lines in 17 files covered. (55.63%)

8802 of 9389 relevant lines covered (93.75%)

409.9 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/migrations/1727702843994-notification_types.ts
1
import { MigrationInterface, QueryRunner } from 'typeorm';
2

NEW
3
export class NotificationTypes1727702843994 implements MigrationInterface {
×
NEW
4
  name = 'NotificationTypes1727702843994';
×
5
  public async up(queryRunner: QueryRunner): Promise<void> {
6
    await queryRunner.query(
×
7
      `INSERT INTO "notification_types" ("name") VALUES ('CONFIRMATION_REQUEST'),('DELETED_MULTISIG_TRANSACTION'),('EXECUTED_MULTISIG_TRANSACTION'),('INCOMING_ETHER'),('INCOMING_TOKEN'),('MESSAGE_CONFIRMATION_REQUEST'),('MODULE_TRANSACTION');`,
8
    );
9
  }
10

11
  public async down(queryRunner: QueryRunner): Promise<void> {
12
    await queryRunner.query(
×
13
      `DELETE FROM notification_types WHERE "name" IN ('CONFIRMATION_REQUEST','DELETED_MULTISIG_TRANSACTION','EXECUTED_MULTISIG_TRANSACTION','INCOMING_ETHER','INCOMING_TOKEN','MESSAGE_CONFIRMATION_REQUEST','MODULE_TRANSACTION');`,
14
    );
15
  }
16
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc