Skip to content

Commit

Permalink
fixed protein-translation.spec.coffee
Browse files Browse the repository at this point in the history
next try to fix usage of 'toThrowError'
  • Loading branch information
ladokp authored Feb 1, 2024
1 parent b5d1a47 commit e8d88b5
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,5 @@ describe 'ProteinTranslation', ->
expect(results).toEqual expected

xit "Non-existing codon can't translate", ->
expect ->
ProteinTranslation.proteins("AAA")
.toThrowError(Error, "Invalid codon")
expect(ProteinTranslation.proteins("AAA"))
.toThrowError(Error, 'Invalid codon')

0 comments on commit e8d88b5

Please sign in to comment.