So I am writing a coding challenge for students where I check their proficiency in the use of ES6 syntax. I wrote one for template strings and I learned from a colleague that its not smart to try to test the implementation of a template string, I would have to test the behavior. I wanted to know if the same applies for fat arrow functions. Do I just write a test for the behavior as opposed to implementation of that fat arrow function?
Source: Read More