Skip to content

Commit

Permalink
fixed protein-translation.spec.coffee
Browse files Browse the repository at this point in the history
fixed use of "toThrowError()"
  • Loading branch information
ladokp authored Feb 1, 2024
1 parent dec9257 commit b5d1a47
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -134,4 +134,4 @@ describe 'ProteinTranslation', ->
xit "Non-existing codon can't translate", ->
expect ->
ProteinTranslation.proteins("AAA")
.toThrowError("Invalid codon")
.toThrowError(Error, "Invalid codon")

0 comments on commit b5d1a47

Please sign in to comment.