Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update better-sqlite3 #1465

Merged
merged 36 commits into from
Jul 5, 2023
Merged

update better-sqlite3 #1465

merged 36 commits into from
Jul 5, 2023

Conversation

lolopinto
Copy link
Owner

@lolopinto lolopinto commented May 30, 2023

update better-sqlite3 to latest version

fixes #1278

I believe sporadic error i was seeing was related to jest WiseLibs/better-sqlite3#162

2 changes to make tests passe:

  • instead of instanceof Error checks, also check the constructor's name is SqliteError
  • instead of using expect(promise).rejects. do a try/catch

also, adds WAL pragma as recommended in the README

@lolopinto lolopinto force-pushed the update-better-sqlite3 branch 3 times, most recently from 23c82ea to b82daa2 Compare May 31, 2023 00:56
@lolopinto lolopinto force-pushed the update-better-sqlite3 branch from 4866c48 to c3863e2 Compare June 12, 2023 17:27
@lolopinto lolopinto force-pushed the update-better-sqlite3 branch from 3aadd8f to da14a57 Compare July 5, 2023 17:03
@lolopinto lolopinto merged commit 1a1a0e9 into main Jul 5, 2023
@lolopinto lolopinto deleted the update-better-sqlite3 branch July 5, 2023 18:43
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.

upgrade better-sqlite3
1 participant