Skip to content

Improve and expand on Figma setup script test

Tom Quirk requested to merge add-tests into master

In this MR, various improvements are made to the Figma setup script test:

  • cleaner mocking of modules
  • testing that setup functions are called correctly
  • testing figma.ui.onmessage invocation calls correct handler

Part of work towards #13 (closed)

Merge request reports