Skip to content

Use rebranded logo in README #47

Use rebranded logo in README

Use rebranded logo in README #47

GitHub Actions / Test Report succeeded Feb 8, 2024 in 1s

4 passed, 0 failed and 0 skipped

Tests passed successfully

✅ reports/jest-junit.xml

4 tests were completed in 854ms with 4 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
core/lib/encryption.test.ts 2✅ 669ms
core/lib/utils.test.ts 2✅ 580ms

✅ core/lib/encryption.test.ts

encryption › fetchKeyInfo › Given fetchKeyInfo() is called
  ✅ Then it will return a promise containing the key information
encryption › encrypt › Given encrypt() is called with plainText: 'blazingly fast!' › And it returns the base64 encoded cipherText
  ✅ Then the decrypted cipherText should match the given plainText

✅ core/lib/utils.test.ts

utils › createPayload › Given a unique secret is given to createPayload
  ✅ Then the created payload should contain one secret
utils › buildURLSafeBase64 › Given a base64 URL is passed to buildURLSafeBase64
  ✅ Then the returned base64 value should be URL safe