// Main should specify the entry point of your app.
// .html (eg. index.html)
// url (eg. http://localhost:5000)
// defaults to using a boilerplate html file.
...but if I try to run Wright without supplying a main, I get this:
\node_modules\wright\lib\config.js:47
if (config.main.startsWith('http://'))
^
TypeError: Cannot read property 'startsWith' of null
According to the JS API readme:
...but if I try to run Wright without supplying a
main
, I get this: