Skip to content

Commit

Permalink
remove failing test which is covered by typecheck now
Browse files Browse the repository at this point in the history
  • Loading branch information
allenan committed Oct 15, 2021
1 parent 16c6887 commit 5d5d707
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions packages/crypto/src/__tests__/Mnemonic.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,6 @@ describe('create', () => {
const mnemonic = await Mnemonic.create(24)
expect(mnemonic.words.length).toBe(24)
})

it('raises an error if given a value besides 12 or 24', () => {
const expectedError = new Error('supported mnemonic lengths: 12, 24. received 36')
Mnemonic.create(36).catch((error) => {
expect(error).toEqual(expectedError)
})
})
})

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

0 comments on commit 5d5d707

Please sign in to comment.