From e3133f6966e6221e102a354251f75dbd0297ac1b Mon Sep 17 00:00:00 2001 From: Efan Rows <119373192+0x3at@users.noreply.github.com> Date: Wed, 15 Oct 2025 10:58:40 -0500 Subject: [PATCH 1/3] Update resistor-color.test.ts Removed enforced implementation of the COLORS data type to comply with CONTRIBUTING.md ```markdown No test should force a specific implementation ``` --- .../resistor-color/resistor-color.test.ts | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/exercises/practice/resistor-color/resistor-color.test.ts b/exercises/practice/resistor-color/resistor-color.test.ts index ed88551ee..c62631bc8 100644 --- a/exercises/practice/resistor-color/resistor-color.test.ts +++ b/exercises/practice/resistor-color/resistor-color.test.ts @@ -14,20 +14,3 @@ describe('color code', () => { expect(colorCode('orange')).toEqual(3) }) }) - -xdescribe('Colors', () => { - xit('returns all colors', () => { - expect(COLORS).toEqual([ - 'black', - 'brown', - 'red', - 'orange', - 'yellow', - 'green', - 'blue', - 'violet', - 'grey', - 'white', - ]) - }) -}) From efb5f7fde591b99605aafb3769242294dd83167b Mon Sep 17 00:00:00 2001 From: Efan Rows <119373192+0x3at@users.noreply.github.com> Date: Wed, 15 Oct 2025 11:01:08 -0500 Subject: [PATCH 2/3] Update tests.toml --- exercises/practice/resistor-color/.meta/tests.toml | 3 --- 1 file changed, 3 deletions(-) diff --git a/exercises/practice/resistor-color/.meta/tests.toml b/exercises/practice/resistor-color/.meta/tests.toml index 9d4ee9737..e3b8c2b9d 100644 --- a/exercises/practice/resistor-color/.meta/tests.toml +++ b/exercises/practice/resistor-color/.meta/tests.toml @@ -17,6 +17,3 @@ description = "Color codes -> White" [5f81608d-f36f-4190-8084-f45116b6f380] description = "Color codes -> Orange" - -[581d68fa-f968-4be2-9f9d-880f2fb73cf7] -description = "Colors" From cd5fddde2e41301519c972579b1c8f081f987724 Mon Sep 17 00:00:00 2001 From: Efan Rows <119373192+0x3at@users.noreply.github.com> Date: Wed, 15 Oct 2025 11:05:12 -0500 Subject: [PATCH 3/3] Update instructions.md --- exercises/practice/resistor-color/.docs/instructions.md | 3 --- 1 file changed, 3 deletions(-) diff --git a/exercises/practice/resistor-color/.docs/instructions.md b/exercises/practice/resistor-color/.docs/instructions.md index 0125e718b..87ed3cfa5 100644 --- a/exercises/practice/resistor-color/.docs/instructions.md +++ b/exercises/practice/resistor-color/.docs/instructions.md @@ -31,9 +31,6 @@ The goal of this exercise is to create a way: - to look up the numerical value associated with a particular color band - to list the different band colors -Mnemonics map the colors to the numbers, that, when stored as an array, happen to map to their index in the array: -Better Be Right Or Your Great Big Values Go Wrong. - More information on the color encoding of resistors can be found in the [Electronic color code Wikipedia article][e-color-code]. [e-color-code]: https://en.wikipedia.org/wiki/Electronic_color_code