Skip to content

Commit

Permalink
Merge pull request #111 from local-first-web/fix-crypto-tests
Browse files Browse the repository at this point in the history
  • Loading branch information
HerbCaudill committed May 31, 2024
2 parents f0d6fbc + 573c17e commit 23e925e
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion packages/crypto/src/test/asymmetric.test.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { describe, test, expect } from 'vitest'
import { signatures, asymmetric } from '..'
import { signatures, asymmetric } from '../index.js'

const { keyPair, encryptBytes, decryptBytes, encrypt, decrypt } = asymmetric

Expand Down
2 changes: 1 addition & 1 deletion packages/crypto/src/test/hash.test.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { pack } from 'msgpackr'
import { describe, expect, it } from 'vitest'
import { hash, hashBytes } from '..'
import { hash, hashBytes } from '../index.js'
import { base58, keyToBytes } from '../util/index.js'

describe('crypto', () => {
Expand Down
2 changes: 1 addition & 1 deletion packages/crypto/src/test/randomKey.test.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { describe, expect, it } from 'vitest'
import { randomKey, randomKeyBytes } from '../randomKey.js'
import { randomKey, randomKeyBytes } from '../index.js'

describe('randomKey', () => {
it('should return keys of the expected length', () => {
Expand Down
2 changes: 1 addition & 1 deletion packages/crypto/src/test/signatures.test.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { describe, expect, test } from 'vitest'
import { asymmetric, randomKey, signatures } from '..'
import { asymmetric, randomKey, signatures } from '../index.js'
import { type Base58, type SignedMessage } from '../types.js'

const { keyPair, sign, verify } = signatures
Expand Down
2 changes: 1 addition & 1 deletion packages/crypto/src/test/stretch.test.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { describe, expect, test } from 'vitest'
import { stretch } from '../stretch.js'
import { stretch } from '../index.js'
import { base58 } from '../util/index.js'

describe('stretch', () => {
Expand Down

0 comments on commit 23e925e

Please sign in to comment.