From b5d1a477b6ab407cb2ccc723788658e2f4bd03fa Mon Sep 17 00:00:00 2001 From: Patrick Kodal <6306551+ladokp@users.noreply.github.com> Date: Thu, 1 Feb 2024 09:15:49 +0100 Subject: [PATCH] fixed protein-translation.spec.coffee fixed use of "toThrowError()" --- .../protein-translation/protein-translation.spec.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exercises/practice/protein-translation/protein-translation.spec.coffee b/exercises/practice/protein-translation/protein-translation.spec.coffee index 767073f..3155567 100644 --- a/exercises/practice/protein-translation/protein-translation.spec.coffee +++ b/exercises/practice/protein-translation/protein-translation.spec.coffee @@ -134,4 +134,4 @@ describe 'ProteinTranslation', -> xit "Non-existing codon can't translate", -> expect -> ProteinTranslation.proteins("AAA") - .toThrowError("Invalid codon") + .toThrowError(Error, "Invalid codon")