opendata-guru / peacock-user-ui

Open Data Portal
https://opendata-guru.github.io/peacock-user-ui/
Apache License 2.0
4 stars 1 forks source link

Add a testing framework #11

Open tursics opened 2 years ago

tursics commented 2 years ago

Is your feature request related to a problem? Please describe. It's not possible to publish this project to node.js as package by github automatically. The pipeline fails on not configured testing command: https://github.com/opendata-guru/peacock-user-ui/actions/runs/1880792149

Describe the solution you'd like Add a testing framework. Add the test npm command. Add first and most important tests for this package.

Describe alternatives you've considered Simple add a test command without functionality.

tursics commented 2 years ago

Vue Test Util are now installed: https://v1.test-utils.vuejs.org/guides/#getting-started

How to use? https://testdriven.io/blog/vue-unit-testing/