-
-
Notifications
You must be signed in to change notification settings - Fork 655
Closed
Labels
Description
As part of the job to make the track compatible with Nextercism, we identified there are missing exercises in this track that are present in the JavaScript track. One of them is proverb.
The task would be to add the proverb exercise to this track, copying files from the JavaScript track and adapting the code to the ECMAScript 6 standard.
Basic steps would include:
- Copy all files from
<javascript repo>/exercises/proverb(https://github.com/exercism/javascript) to<ecmascript repo>/exercises/proverb(https://github.com/exercism/ecmascript) - Copy the main
package.jsonfile (it's in the root folder of theecmascriptrepo https://github.com/exercism/ecmascript/blob/master/package.json) to the<ecmascript repo>/exercises/proverbfolder - Adapt the code in
proverb.spec.jsfile to use ECMAScript 6 features (importmodules, arrow functions,constand/orlet, any other feature you think will make the code better). Additionally, the JavaScript track uses Jasmine where the ECMAScript track uses Jest. So,itandxitmust be translated totestandxtest. Feel free to adaptexample.jsas well, just for fun (as long as tests pass) - In the
README.mdof the exercise, replace sections from Setup and below (Setup, Making the test suite pass, Source and Submitting incomplete solutions) with similar sections from any ECMAScript exercise, for exampleaccumulateREADME. They'll include Setup, Requirements, Making the test suite pass, Source and Submitting incomplete solutions. - Copy some exercise information from JavaScript
config.jsonfile to the ECMAScriptconfig.jsonfile. This information is an object in theexercisesarray property with aslugproperty equals toproverb. Copy that object and place it in the same (or most similar) position in the ECMAScriptconfig.jsonfile. Bothconfig.jsonfiles are in the root folder of the repo.
@exercism/ecmascripts - Do you miss something here?