Call preventDefault at the start of handleSubmit so failed validation
does not trigger a native form submit. Map ascii_sentence inputs to
text. Set ascii_sentence on suggestionsBrowserKey test arguments so
hyphenated values pass validation.
Co-authored-by: Cursor <cursoragent@cursor.com>
mocha is run with the default runner that starts and stops OliveTin as a local process (ie, localhost:1337).
Running different configurations (Local Process, VM, Container)
Get the snapshot you want to test make getsnapshot
To test against VMs:
-- export OLIVETIN_TEST_RUNNER=vm
-- vagrant up fedora38 (or whatever distro you like defined in Vagrantfile)
-- . envVagrant.sh fedora38 to set the $IP and $PORT