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

typeorm / typeorm / 22256862981

21 Feb 2026 12:31PM UTC coverage: 81.291% (+0.1%) from 81.176%
22256862981

push

github

web-flow
feat!: remove deprecated `Connection` and `ConnectionOptions` (#12022)

27682 of 33521 branches covered (82.58%)

Branch coverage included in aggregate %.

1205 of 1301 new or added lines in 76 files covered. (92.62%)

1 existing line in 1 file now uncovered.

93920 of 116068 relevant lines covered (80.92%)

71235.59 hits per line

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

61.54
/src/error/NoConnectionForRepositoryError.ts
1
import { TypeORMError } from "./TypeORMError"
26✔
2

26✔
3
/**
26✔
4
 * Thrown when consumer tries to access repository before connection is established.
26✔
5
 */
26✔
6
export class NoConnectionForRepositoryError extends TypeORMError {
26✔
7
    constructor(dataSourceName: string) {
26✔
8
        super(
×
NEW
9
            `Cannot get a Repository for the "${dataSourceName}" DataSource, because connection with the database ` +
×
NEW
10
                `is not established yet. Call dataSource#initialize method to establish connection.`,
×
11
        )
×
12
    }
×
13
}
26✔
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

© 2026 Coveralls, Inc