Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
Signed-off-by: Matteo Collina <hello@matteocollina.com>
  • Loading branch information
mcollina committed Jan 19, 2024
1 parent 4dab5e1 commit 60204ad
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
],
"scripts": {
"typescript": "tsc --project ./test/tsconfig.json",
"test": "standard && tape test/test.js test/uniqueness.js test/buffer.ts | tap-dot && npm run typescript"
"test": "standard && tape test/test.js test/uniqueness.js test/buffer.js | tap-dot && npm run typescript"
},
"repository": {
"type": "git",
Expand Down
4 changes: 2 additions & 2 deletions test/buffer.ts → test/buffer.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@ const test = require('tape')
const proxyquire = require('proxyquire')

test('require buffer', function (t) {
t.plan(2);
t.plan(2)

const instance = hyperid()
const id = instance()
t.ok(id)

proxyquire('../hyperid', { 'buffer': { Buffer: null } });
proxyquire('../hyperid', { buffer: { Buffer: null } })
const instance2 = hyperid()
const id2 = instance2()
t.ok(id2)
Expand Down

0 comments on commit 60204ad

Please sign in to comment.