Fix error in the last test scenario of the Resistor Color problem for TypeScript

Update the last test scenario, the current scenario only prints the object COLORS. For this test to be valid we need to call the colorCode function but with ‘’ or undefined.

Update resistor-color.test.ts by jghernandez31295 · Pull Request #1470 · exercism/typescript · GitHub for reference

That’s not what the exercise asks for. This PR changes the expected behavior of the function.

Relevant docs:

1 Like