diff --git a/packages/connect/deno.json b/packages/connect/deno.json index 5c7164f8..38eb1dae 100644 --- a/packages/connect/deno.json +++ b/packages/connect/deno.json @@ -1,7 +1,7 @@ { "tasks": { "cache": "deno cache --lock=deno.lock --lock-write deno/deps.deno.ts deno/dev_deps.ts", - "test": "deno lint && deno fmt && deno test -A --no-lock --unstable deno/tests", + "test": "deno lint && deno fmt && deno test -A --no-lock deno/tests", "test:integration": "make test-integration", "to-node": "make clean to-node" }, diff --git a/packages/connect/deno/tests/cache.test.ts b/packages/connect/deno/tests/cache.test.ts index 5875aae0..699dad5a 100644 --- a/packages/connect/deno/tests/cache.test.ts +++ b/packages/connect/deno/tests/cache.test.ts @@ -99,6 +99,9 @@ test('cache.destroy', async () => { const noConfirmRequest = (_h: HyperRequest) => { assert(false, 'unreachable') + return Promise.resolve( + new Request('http://localhost', { method: 'DELETE' }), + ) } await destroy()(noConfirmRequest).catch(assert) diff --git a/packages/connect/deno/tests/data.test.ts b/packages/connect/deno/tests/data.test.ts index 8b330b01..2f212891 100644 --- a/packages/connect/deno/tests/data.test.ts +++ b/packages/connect/deno/tests/data.test.ts @@ -157,6 +157,9 @@ test('data.destroy', async () => { const noConfirmRequest = (_h: HyperRequest) => { assert(false, 'unreachable') + return Promise.resolve( + new Request('http://localhost', { method: 'DELETE' }), + ) } await destroy()(noConfirmRequest).catch(assert) diff --git a/packages/connect/deno/tests/hyper-verify.test.ts b/packages/connect/deno/tests/hyper-verify.test.ts index 78165499..bbaa831b 100644 --- a/packages/connect/deno/tests/hyper-verify.test.ts +++ b/packages/connect/deno/tests/hyper-verify.test.ts @@ -18,7 +18,7 @@ Deno.test('Verify: Compare Secret Signatures Successfully', () => { assertEquals(result.ok, true) }) -Deno.test('Verify: Compare Signatures that don\'t match ', () => { +Deno.test("Verify: Compare Signatures that don't match ", () => { const time = new Date() const s = hmac( 'sha256', diff --git a/packages/connect/deno/tests/search.test.ts b/packages/connect/deno/tests/search.test.ts index d7e87fa7..43cb92cc 100644 --- a/packages/connect/deno/tests/search.test.ts +++ b/packages/connect/deno/tests/search.test.ts @@ -130,6 +130,9 @@ test('search.destroy', async () => { const noConfirmRequest = (_h: HyperRequest) => { assert(false, 'unreachable') + return Promise.resolve( + new Request('http://localhost', { method: 'DELETE' }), + ) } await destroy()(noConfirmRequest).catch(assert) diff --git a/packages/connect/deno/tests/storage.test.ts b/packages/connect/deno/tests/storage.test.ts index 589272e2..c7f62f85 100644 --- a/packages/connect/deno/tests/storage.test.ts +++ b/packages/connect/deno/tests/storage.test.ts @@ -123,6 +123,9 @@ test('storage.destroy', async () => { const noConfirmRequest = (_h: HyperRequest) => { assert(false, 'unreachable') + return Promise.resolve( + new Request('http://localhost', { method: 'DELETE' }), + ) } await destroy()(noConfirmRequest).catch(assert) diff --git a/packages/connect/node/tests/hyper-verify.js b/packages/connect/node/tests/hyper-verify.js index e4b55fcc..f7367cae 100644 --- a/packages/connect/node/tests/hyper-verify.js +++ b/packages/connect/node/tests/hyper-verify.js @@ -19,7 +19,7 @@ test('Verify: Compare Secret Signatures Successfully', () => { assert.equal(result.ok, true) }) -test('Verify: Compare Signatures that don\'t match ', () => { +test("Verify: Compare Signatures that don't match ", () => { const time = new Date() const s = hmac( 'sha256',