Articles tagged with “Javascript” (7 articles)

My testing with Jest takeaways

A 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

Find 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é

Find 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

Discover 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

Find 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

Learn 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

Spotlight on little-known indeterminate state of HTML input checkbox.

Browse all tags