Skip to content
StartFunction

StartFunction

Software development and design

  • Home
  • Photos
  • About
  • Travels

Tag: Jest

How to hide JavaScript’s console.log output in Jest tests

May 8, 2021May 15, 2022 Elio Rivero1 Comment

Learn how to suppress the output of undesired console.log() calls in your Jest tests.

Posted in javascriptTagged development, Jest, Unit Testing

Testing JavaScript in WordPress plugins – JavaScript for WP

July 10, 2020July 10, 2020 Elio RiveroLeave a comment

I spoke at the JavaScript for WP conference about writing tests for the JavaScript in our WordPress plugins. Talk was live online on July 10, 2020. The code and the slides can be found here.

Posted in javascript, WordPressTagged Jest, talk, Unit Testing

Easy JavaScript unit tests in WordPress with Jest

June 3, 2020May 15, 2022 Elio RiveroLeave a comment
How to write JavaScript unit tests using Jest for your WordPress plugins

Ensure the stability of the JavaScript code in your WordPress plugin by writing JavaScript unit tests using Jest.

Posted in javascript, WordPressTagged development, Jest, Unit Testing
Powered by WordPress.com.
 

Loading Comments...