Closed AlexandreMPDias closed 6 years ago
Hello, your issue has been closed because it does not conform to our issue requirements. In order to ensure every issue provides the necessary information for us to investigate, we require the use of the Issue Helper when creating new issues. Thank you!
Ok... so I (as far as I know) properly configured vue-test-utils/mocha-webpack/babel/etc...
Now, how do I build the test?? I mean, I know about the describe/it from mocha, and using the spec.files... I created some tests, to check if the test environment is working, and all tests passed... I know how to create a test... but I want to know the PROPER way...
I mean, for example... Inside my home-page, I want to check if when I click a given sequence of buttons, all the variables that should be updated are really updated...
I need to initalize the same way I would my main.js? Because here are the imports inside my 'main.js'
I need to import all this inside my .spec.js file?? Is that the correct approach?? Im trully lost in here lol, please someone shed me some light, or at least point me in the right direction...