diff --git a/crypto/crypto/test/aes.test.ts b/crypto/crypto/test/aes.test.ts index 73c31185..3398134e 100644 --- a/crypto/crypto/test/aes.test.ts +++ b/crypto/crypto/test/aes.test.ts @@ -19,12 +19,12 @@ describe("AES", () => { data = toEncrypt.msg; }); - it("should encrypt sucessfully", async () => { + it("should encrypt successfully", async () => { const ciphertext = await testAesEncrypt(iv, key, data); chai.expect(ciphertext).to.not.be.undefined; }); - it("should decrypt sucessfully", async () => { + it("should decrypt successfully", async () => { const ciphertext = await testAesEncrypt(iv, key, data); const result = await testAesDecrypt(iv, key, ciphertext); chai.expect(result).to.not.be.undefined; diff --git a/crypto/crypto/test/browser.test.ts b/crypto/crypto/test/browser.test.ts index 80a26b19..ad9a0b6d 100644 --- a/crypto/crypto/test/browser.test.ts +++ b/crypto/crypto/test/browser.test.ts @@ -97,7 +97,7 @@ describe("Browser", () => { expectedLength = 32; expectedOutput = hexToArray(TEST_SHA256_HASH); }); - it("should hash buffer sucessfully", async () => { + it("should hash buffer successfully", async () => { const input = utf8ToArray(TEST_MESSAGE_STR); const output = await browserCrypto.browserSha256(input); chai.expect(output).to.eql(expectedOutput); @@ -119,7 +119,7 @@ describe("Browser", () => { expectedOutput = hexToArray(TEST_SHA512_HASH); }); - it("should hash buffer sucessfully", async () => { + it("should hash buffer successfully", async () => { const input = utf8ToArray(TEST_MESSAGE_STR); const output = await browserCrypto.browserSha512(input); chai.expect(output).to.eql(expectedOutput); @@ -148,7 +148,7 @@ describe("Browser", () => { output = await browserCrypto.browserHmacSha256Sign(macKey, dataToMac); }); - it("should sign sucessfully", async () => { + it("should sign successfully", async () => { chai.expect(output).to.eql(expectedOutput); }); diff --git a/crypto/crypto/test/fallback.test.ts b/crypto/crypto/test/fallback.test.ts index 5e08bb9b..cb892239 100644 --- a/crypto/crypto/test/fallback.test.ts +++ b/crypto/crypto/test/fallback.test.ts @@ -83,7 +83,7 @@ describe("Fallback", () => { expectedLength = 32; expectedOutput = hexToArray(TEST_SHA256_HASH); }); - it("should hash buffer sucessfully", async () => { + it("should hash buffer successfully", async () => { const input = utf8ToArray(TEST_MESSAGE_STR); const output = fallbackCrypto.fallbackSha256(input); chai.expect(output).to.eql(expectedOutput); @@ -105,7 +105,7 @@ describe("Fallback", () => { expectedOutput = hexToArray(TEST_SHA512_HASH); }); - it("should hash buffer sucessfully", async () => { + it("should hash buffer successfully", async () => { const input = utf8ToArray(TEST_MESSAGE_STR); const output = fallbackCrypto.fallbackSha512(input); chai.expect(output).to.eql(expectedOutput); @@ -134,7 +134,7 @@ describe("Fallback", () => { output = fallbackCrypto.fallbackHmacSha256Sign(macKey, dataToMac); }); - it("should sign sucessfully", async () => { + it("should sign successfully", async () => { chai.expect(output).to.eql(expectedOutput); }); diff --git a/crypto/crypto/test/hmac.test.ts b/crypto/crypto/test/hmac.test.ts index 1b880b29..e0f34255 100644 --- a/crypto/crypto/test/hmac.test.ts +++ b/crypto/crypto/test/hmac.test.ts @@ -26,7 +26,7 @@ describe("HMAC", () => { output = await testHmacSign(macKey, dataToMac); }); - it("should sign sucessfully", async () => { + it("should sign successfully", async () => { chai.expect(output).to.eql(expectedOutput); }); @@ -34,7 +34,7 @@ describe("HMAC", () => { chai.expect(output.length).to.eql(expectedLength); }); - it("should verify sucessfully", async () => { + it("should verify successfully", async () => { const macGood = await testHmacVerify(macKey, dataToMac, output); chai.expect(macGood).to.not.be.undefined; }); diff --git a/crypto/crypto/test/node.test.ts b/crypto/crypto/test/node.test.ts index 51075243..b432d605 100644 --- a/crypto/crypto/test/node.test.ts +++ b/crypto/crypto/test/node.test.ts @@ -92,7 +92,7 @@ describe("NodeJS", () => { expectedLength = 32; expectedOutput = hexToArray(TEST_SHA256_HASH); }); - it("should hash buffer sucessfully", async () => { + it("should hash buffer successfully", async () => { const input = utf8ToArray(TEST_MESSAGE_STR); const output = nodeCrypto.nodeSha256(input); chai.expect(output).to.eql(expectedOutput); @@ -114,7 +114,7 @@ describe("NodeJS", () => { expectedOutput = hexToArray(TEST_SHA512_HASH); }); - it("should hash buffer sucessfully", async () => { + it("should hash buffer successfully", async () => { const input = utf8ToArray(TEST_MESSAGE_STR); const output = nodeCrypto.nodeSha512(input); chai.expect(output).to.eql(expectedOutput); @@ -143,7 +143,7 @@ describe("NodeJS", () => { output = nodeCrypto.nodeHmacSha256Sign(macKey, dataToMac); }); - it("should sign sucessfully", async () => { + it("should sign successfully", async () => { chai.expect(output).to.eql(expectedOutput); }); diff --git a/crypto/crypto/test/random.test.ts b/crypto/crypto/test/random.test.ts index 6197a1e9..ec4a2d09 100644 --- a/crypto/crypto/test/random.test.ts +++ b/crypto/crypto/test/random.test.ts @@ -12,7 +12,7 @@ describe("RandomBytes", () => { key = testRandomBytes(length); }); - it("should generate random bytes sucessfully", async () => { + it("should generate random bytes successfully", async () => { chai.expect(key).to.not.be.undefined; }); diff --git a/crypto/crypto/test/sha2.test.ts b/crypto/crypto/test/sha2.test.ts index 1db1523a..3f8493e5 100644 --- a/crypto/crypto/test/sha2.test.ts +++ b/crypto/crypto/test/sha2.test.ts @@ -14,7 +14,7 @@ describe("SHA256", () => { expectedOutput = hexToArray(TEST_SHA256_HASH); }); - it("should hash buffer sucessfully", async () => { + it("should hash buffer successfully", async () => { const input = utf8ToArray(TEST_MESSAGE_STR); const output = await isoCrypto.sha256(input); chai.expect(output).to.eql(expectedOutput); @@ -36,7 +36,7 @@ describe("SHA512", () => { expectedOutput = hexToArray(TEST_SHA512_HASH); }); - it("should hash buffer sucessfully", async () => { + it("should hash buffer successfully", async () => { const input = utf8ToArray(TEST_MESSAGE_STR); const output = await isoCrypto.sha512(input); chai.expect(output).to.eql(expectedOutput); diff --git a/crypto/randombytes/test/browser.test.ts b/crypto/randombytes/test/browser.test.ts index 19cfbfea..5dc5ca4e 100644 --- a/crypto/randombytes/test/browser.test.ts +++ b/crypto/randombytes/test/browser.test.ts @@ -13,7 +13,7 @@ describe("Browser", () => { key = browserCrypto.randomBytes(length); }); - it("should generate random bytes sucessfully", async () => { + it("should generate random bytes successfully", async () => { chai.expect(key).to.not.be.undefined; }); diff --git a/crypto/randombytes/test/fallback.test.ts b/crypto/randombytes/test/fallback.test.ts index 1ca2f474..6044ba4d 100644 --- a/crypto/randombytes/test/fallback.test.ts +++ b/crypto/randombytes/test/fallback.test.ts @@ -13,7 +13,7 @@ describe("Fallback", () => { key = fallbackCrypto.randomBytes(length); }); - it("should generate random bytes sucessfully", async () => { + it("should generate random bytes successfully", async () => { chai.expect(key).to.not.be.undefined; }); diff --git a/crypto/randombytes/test/node.test.ts b/crypto/randombytes/test/node.test.ts index 839503a2..77ff0aef 100644 --- a/crypto/randombytes/test/node.test.ts +++ b/crypto/randombytes/test/node.test.ts @@ -13,7 +13,7 @@ describe("NodeJS", () => { key = nodeCrypto.randomBytes(length); }); - it("should generate random bytes sucessfully", async () => { + it("should generate random bytes successfully", async () => { chai.expect(key).to.not.be.undefined; });