Skip to content

Commit

Permalink
fixed test
Browse files Browse the repository at this point in the history
(cherry picked from commit e9ee374)
  • Loading branch information
JoshuaWise authored and m4heshd committed Jan 19, 2022
1 parent 7dee48b commit 71f7d99
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/10.database.open.js
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ describe('new Database()', function () {
it('should accept the "nativeBinding" option', function () {
this.slow(500);
const oldBinding = require('bindings')({ bindings: 'better_sqlite3.node', path: true });
const newBinding = path.join(__dirname, '..', 'temp', 'foo.node');
const newBinding = path.join(path.dirname(oldBinding), 'test.node');
expect(oldBinding).to.be.a('string');
fs.copyFileSync(oldBinding, newBinding);
const getBinding = db => db[Object.getOwnPropertySymbols(db)[0]].constructor;
Expand Down

0 comments on commit 71f7d99

Please sign in to comment.