diff --git a/package.json b/package.json index 17ea012..996df9c 100644 --- a/package.json +++ b/package.json @@ -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", diff --git a/test/buffer.ts b/test/buffer.js similarity index 79% rename from test/buffer.ts rename to test/buffer.js index 26fd85c..b02b0b1 100644 --- a/test/buffer.ts +++ b/test/buffer.js @@ -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)