Open Haroenv opened 8 years ago
For reference, I don't have songs by "emancipator" in my library.
For reference, I don't have songs by "emancipator" in my library.
That’s the problem. You need songs by Emancipator to contribute :joy:
All joking aside. The test are incomplete and not real unit tests. They have dependencies to your iTunes library (as the return values of osascript).
This is a design failure of the test. I guess I should mock the return values with Sinon to get rid of that dependency. I never done that before :grin: But seems to be about that time.
I was planning to contribute to the feature #6, but running tests without changing anything returned (among passing tests) this: