added github sponsorship information

This commit is contained in:
Joshua Wise
2020-04-25 10:20:05 -05:00
parent cded047771
commit 1329f46982
3 changed files with 6 additions and 1 deletions
+3
View File
@@ -0,0 +1,3 @@
github: JoshuaWise
patreon: joshuawise
custom: "https://www.paypal.me/joshuathomaswise"
+1
View File
@@ -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)
+2 -1
View File
@@ -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);