Open iPhatty opened 6 years ago
https://github.com/fac-14/teamcoolerweek-2/blob/4b588fb49da82ef7d3bdaea8458d8c7c54c80362/test.js#L38-L47
I see here you are comparing the original array to itself, were you trying to test to see that the original was not mutated? If you want to test that then you can run your function just before you run the t.equals and see if it changed anything.
https://github.com/fac-14/teamcoolerweek-2/blob/4b588fb49da82ef7d3bdaea8458d8c7c54c80362/test.js#L38-L47
I see here you are comparing the original array to itself, were you trying to test to see that the original was not mutated? If you want to test that then you can run your function just before you run the t.equals and see if it changed anything.