rafaelleru / torrent-player

Electron music player
https://gitter.im/torrent-player/Lobby?utm_source=share-link&utm_medium=link&utm_campaign=share-link
MIT License
14 stars 10 forks source link

Test for vue components #27

Open rafaelleru opened 7 years ago

Pixelrobin commented 7 years ago

@rafaelleru Can you give some description? I would be happy to contribute :)

rafaelleru commented 7 years ago

Unit test fot the js files and vue components, because I like to use travis to continous integration. You can find useful this: https://vuejs.org/v2/guide/unit-testing.html

caseyprovost commented 7 years ago

I'll take a stab at starting some more tests

caseyprovost commented 7 years ago

@rafaelleru it looks like Karma itself is in a bad state and preventing test running. You can see the issues here: https://github.com/karma-runner/karma/issues/2777 and in their call for contributors.

rafaelleru commented 7 years ago

Do you have any other purpose to use instead of karma? You can start with other types of test if you like.

rafaelleru commented 7 years ago

@caseyprovost I will pause this issue while find any karma alternative.

Look any other issue if you like, if you need anything write me or open a new issue.

rafaelleru commented 7 years ago

I already find a solution, You need to manually update the karma dependencies and add "socket.io": "^2.0.3"