hermione.on('start', () => { console.log('Hermione started'); });
hermione.on('end', () => { console.log('Hermione finished'); }); With Hermione -v0.3.3.2.alpha- -Kirill Repin Art-
Here's an example of how you might use Hermione to automate a simple task: hermione
hermione.on('fail', (test) => { console.log(`Test failed: ${test.title}`); }); { console.log('Hermione started')
hermione.run(); This code creates a new instance of Hermione and sets up event listeners for the start, fail, and end events.
const hermione = new Hermione();