OpenJS World 2021 has ended
Virtual Event
June 2-3
Learn More and Register to Attend

Join speakers for live Q&A in Slack! View the session description for speaker availability and more information. To see an overview of Q&A each day click here.
Back To Schedule
Wednesday, June 2 • 1:00pm - 1:30pm
Testing EcmaScript Modules - David Mark Clements

Sign up or log in to save this to your schedule, view media, leave feedback and see who's attending!

Feedback form is now closed.
Browsers and Node.js have gone through an evolution with regard to their module systems. In Node we're in the middle of a transition between CommonJS Modules (CJS), the original Node module system, and EcmaScript Modules (ESM), the TC39 specification for a JavaScript module system. As it stands, ESM is something of a black box and this can make testing a challenge. In this talk, David Mark Clements explains the testing strategy and supporting libraries he developed for testing ESM implementations, particular when it comes to mocking ESM dependencies.

Join the speaker for live Q&A on Slack: Thursday, June 3 from 11:20 - 11:40 PDT / 20:20 - 20:40 CEST, channel - #openjs_world-development

avatar for David Mark Clements

David Mark Clements

David Mark Clements is a Principal Architect, technical author, public speaker and OSS creator specializing in Node.js and browser JavaScript.David has been writing JavaScript since 1996 and has been working with, speaking and writing about Node.js since Node 0.4 (2011). He is the... Read More →

Wednesday June 2, 2021 1:00pm - 1:30pm PDT
  • Slides Included Yes