Message from JavaScript discussions

November 2018

— To test something, you need *something* first, some subject.. Vue is tested by Vue devs, js is tested by js devs..

Message permanent page


Some js bloggers were proposing to make API which accept single object parameter like someFunc({flag: true, data: "two"});

— I ve views, I ve components, but I don't know what is the best way. Unit tests or end to end? Are there any Vue testing framework?

Message permanent page

— Object param makes sense in some cases

— Like when you have loads of optional arguments

— You don't want to pass 4 optional arguments with the same value as the default just to pass the one you're gonna change

Message permanent page

— It's quite functional and looks good, but it's not fast if used at lower levels

— Sure it is

— Why wouldn't it be

— Research it and report the result🤤 if i'll say it's useless, that's only my point

— Ask adam13531 on twitch, he is a crazy React guru😅

— I never saw him using unit tests