Skip to content

Commit

Permalink
fixed test
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshuaWise committed Jan 19, 2022
1 parent 963327a commit e9ee374
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/10.database.open.js
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 e9ee374

Please sign in to comment.