Skip to content

add resistor-color-duo#8

Merged
TheRealOwenRees merged 1 commit intoexercism:mainfrom
BNAndras:add-resistor-color-duo
Mar 10, 2026
Merged

add resistor-color-duo#8
TheRealOwenRees merged 1 commit intoexercism:mainfrom
BNAndras:add-resistor-color-duo

Conversation

@BNAndras
Copy link
Member

No description provided.

@BNAndras BNAndras added x:rep/large Large amount of reputation x:module/practice-exercise Work on Practice Exercises labels Mar 10, 2026
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd like to ignore the JS files given they're just the transpiled ReScript code. It'd likely be confusing to have two copies of the test suite. This keeps it simple

"rescript-test": "^8.0.0",
"toml": "^3.0.0"
},
"scripts": {
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I updated the scripts here since I was having trouble running the test command within the exercise folder. That's where students will be running npm run test or exercism test locally so we should make it work cleanly cross-platform. I was also having some trouble where subsequent npm run test calls were using a cached copy of my solution so I was passing tests with my failing code or failing tests with my passing code.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I noticed there were two empty lines generated at the end of the file. The tradition for Unix systems is one empty line to mark the end of the file so we might as well do that.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

let me add this to an upcoming PR. I will address it at the same time as copying over .resi files etc

@BNAndras BNAndras mentioned this pull request Mar 10, 2026
25 tasks
@TheRealOwenRees TheRealOwenRees merged commit 6bb813c into exercism:main Mar 10, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

x:module/practice-exercise Work on Practice Exercises x:rep/large Large amount of reputation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants