Testing SlateJS (0.50+) code

test utlities

  • packages you need to install: slate slate-hyperscript slate-react jest @testing-library/react (testingLib is optional)
  • you can also create an options attribute to pass all the types to the createHyperscript elements (checkout this example)

Testing plugins

WIP

Testing keaboard actions

WIP

© 2020, Powered by Gatsby