diff options
author | Matthew Miller <matthew@millerti.me> | 2023-08-18 13:59:11 -0700 |
---|---|---|
committer | Matthew Miller <matthew@millerti.me> | 2023-08-18 13:59:11 -0700 |
commit | a59634a1a9b0393622fb121fbe229132c01a2624 (patch) | |
tree | cb4eb3fdf778dfc88d6d389b609b1cef6ebb4b4d /packages/server/src/helpers/toHash.test.ts | |
parent | e0d32bd2a3a60b4b2fd96a2874eae3ad976483df (diff) |
Use single-quotes and increase line width
Diffstat (limited to 'packages/server/src/helpers/toHash.test.ts')
-rw-r--r-- | packages/server/src/helpers/toHash.test.ts | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/packages/server/src/helpers/toHash.test.ts b/packages/server/src/helpers/toHash.test.ts index f5e4d30..306b81a 100644 --- a/packages/server/src/helpers/toHash.test.ts +++ b/packages/server/src/helpers/toHash.test.ts @@ -1,13 +1,13 @@ -import { assertEquals } from "https://deno.land/std@0.198.0/assert/mod.ts"; +import { assertEquals } from 'https://deno.land/std@0.198.0/assert/mod.ts'; -import { toHash } from "./toHash.ts"; +import { toHash } from './toHash.ts'; -Deno.test("should return a buffer of at 32 bytes for input string", async () => { - const hash = await toHash("string"); +Deno.test('should return a buffer of at 32 bytes for input string', async () => { + const hash = await toHash('string'); assertEquals(hash.byteLength, 32); }); -Deno.test("should return a buffer of at 32 bytes for input Buffer", async () => { +Deno.test('should return a buffer of at 32 bytes for input Buffer', async () => { const hash = await toHash(new Uint8Array(10).fill(0)); assertEquals(hash.byteLength, 32); }); |