mirror of
https://github.com/hanzoai/better-sqlite3.git
synced 2026-09-24 16:57:15 +00:00
added github sponsorship information
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
github: JoshuaWise
|
||||
patreon: joshuawise
|
||||
custom: "https://www.paypal.me/joshuathomaswise"
|
||||
@@ -13,6 +13,7 @@ The fastest and simplest library for SQLite3 in Node.js.
|
||||
|
||||
`better-sqlite3` is used by thousands of developers and engineers on a daily basis. Long nights and weekends were spent keeping this project strong and dependable, with no ask for compensation or funding, until now. If your company uses `better-sqlite3`, ask your manager to consider supporting the project:
|
||||
|
||||
- [Become a GitHub sponsor](https://github.com/sponsors/JoshuaWise)
|
||||
- [Become a backer on Patreon](https://www.patreon.com/joshuawise)
|
||||
- [Make a one-time donation on PayPal](https://www.paypal.me/joshuathomaswise)
|
||||
|
||||
|
||||
@@ -6,12 +6,13 @@ if (parseInt(process.versions.node) >= 12) {
|
||||
if (threads.isMainThread) {
|
||||
describe('Worker Threads', function () {
|
||||
afterEach(function () {
|
||||
if (this.db) this.db.close();
|
||||
return this.cleanup;
|
||||
});
|
||||
it('are properly supported', function () {
|
||||
this.slow(1000);
|
||||
return new Promise((resolve, reject) => {
|
||||
const db = Database(util.next()).defaultSafeIntegers();
|
||||
const db = this.db = Database(util.next()).defaultSafeIntegers();
|
||||
expect(db.prepare('select 555').constructor.foo).to.be.undefined;
|
||||
db.prepare('select 555').constructor.foo = 5;
|
||||
expect(db.prepare('select 555').constructor.foo).to.equal(5);
|
||||
|
||||
Reference in New Issue
Block a user