Generate component library docs:
grunt componentlibrary
Navigate to Site administration > Development > UI Component Library
Navigate to Moodle > JavaScript > Toast
Check that all of the examples are correct and working
In the list of sources, click on the core/toast link
Confirm that a new window opens
Confirm that the window shows information on how to generate the jsdocs
Generate JSDoc docs:
grunt jsdoc
Refresh the page
Confirm that the jsdocs opened to the docs for the core/toast module