Articles tagged with “Javascript” (7 articles)
My testing with Jest takeaways
Posted onA living list of short takeaways I'm compiling over time by testing code with the Jest testing framework
Today I learned: How to assert the new active element after Tab keydown event in Jest
Posted onFind out how to make your Jest test, that uses Tab keydown to move the focus, to pass.
How to test a basic (No Javascript) experience in Testcafé
Posted onFind out how you can test your feature's basic (No Javascript) experience
Today I learned: How to match a portion of text that spans over multiple lines with a Javascript regular expression
Posted onDiscover a magic set of tokens that will help you match a multi-lined portion of text in Javascript
Today I learned: How to log a Javascript object with indentation to the console
Posted onFind out how to console Javascript objects in a more readable form using JSON.stringify and its versatile space argument.
Today I learned: How to tailor my `npm init` experience
Posted onLearn how to customize your `npm init` experience by creating a .npm-init.js file.
Today I learned: HTML input checkbox can have an indeterminate state
Posted onSpotlight on little-known indeterminate state of HTML input checkbox.