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

typeorm / typeorm / 13855202207

14 Mar 2025 11:01AM UTC coverage: 72.346% (+0.005%) from 72.341%
13855202207

push

github

web-flow
test: fix and run tests on Windows (#11257)

* Skip tests that don't work on Windows

* Bring back tests on Windows

* Skip the test on all platforms exept Windows

* Make the test run only on Windows

* Add simple winodws test

* fix cli test on Windows

* let's see if this test passes on linux

* limit test to Windows and run format

* Add withPlatform test helper

* Mock platform in file path tests using withPlatform()

* Fix test: relative paths should not change on non-win32 platforms

* Lowercase relative path on non-win32 platform

* test: add better-sqlite3 and sqlite for Windows tests

---------

Co-authored-by: Simon Garner <simon@equalogic.com>

8656 of 12654 branches covered (68.41%)

Branch coverage included in aggregate %.

17877 of 24021 relevant lines covered (74.42%)

159340.99 hits per line

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

66.67
/src/error/PessimisticLockTransactionRequiredError.ts
1
import { TypeORMError } from "./TypeORMError"
27✔
2

3
/**
4
 * Thrown when a transaction is required for the current operation, but there is none open.
5
 */
6
export class PessimisticLockTransactionRequiredError extends TypeORMError {
27✔
7
    constructor() {
8
        super(`An open transaction is required for pessimistic lock.`)
×
9
    }
10
}
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