Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@undees
Copy link
Contributor

@undees undees commented Jun 26, 2023

Follow-up to #5530. Better-SQLite3 tests weren't passing on all platforms due to a path / sequencing issue. This PR addresses the issue by using path.resolve() instead of constructing paths by string addition, and by ensuring that an empty database exists no matter what order the tests run in.

@coveralls
Copy link

coveralls commented Jun 26, 2023

Coverage Status

coverage: 92.774%. remained the same when pulling f697095 on undees:use-path-resolve-in-better-sqlite3-tests into dab051b on knex:master.

@undees undees force-pushed the use-path-resolve-in-better-sqlite3-tests branch from 240fda8 to 540dc96 Compare June 26, 2023 20:07
@undees undees changed the title Use path.resolve in better-sqlite3 tests Ensure test DB exists at correct path in better-sqlite3 tests Jun 26, 2023
@undees undees force-pushed the use-path-resolve-in-better-sqlite3-tests branch from 540dc96 to 3e3ccfc Compare June 26, 2023 20:19
@undees
Copy link
Contributor Author

undees commented Jun 26, 2023

Hi, @OlivierCavadenti! Sorry about the test issue; this PR should get them passing again.

@undees undees force-pushed the use-path-resolve-in-better-sqlite3-tests branch from 3e3ccfc to f697095 Compare June 27, 2023 01:02
@OlivierCavadenti OlivierCavadenti merged commit 2ed6988 into knex:master Jun 27, 2023
@undees undees deleted the use-path-resolve-in-better-sqlite3-tests branch June 27, 2023 14:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants