push
github
26555 of 32182 branches covered (82.52%)
Branch coverage included in aggregate %.
99 of 120 new or added lines in 5 files covered. (82.5%)
30 existing lines in 3 files now uncovered.94931 of 117030 relevant lines covered (81.12%)
65233.75 hits per line
| 1 |
import { TypeORMError } from "./TypeORMError"
|
23✔ |
| 2 |
|
23✔ |
| 3 |
/**
|
23✔ |
| 4 |
* Thrown when user tries to execute operation that requires connection to be established. |
23✔ |
| 5 |
*/ |
23✔ |
| 6 |
export class ConnectionIsNotSetError extends TypeORMError { |
23✔ |
| 7 |
constructor(dbType: string) {
|
23✔ |
|
UNCOV
8
|
super( |
× |
|
UNCOV
9
|
`Connection with ${dbType} database is not established. Check connection configuration.`, |
× |
|
UNCOV
10
|
) |
× |
|
UNCOV
11
|
} |
× |
| 12 |
} |
23✔ |