Is there a way to get the current spec name from within the running test?
Basically I want to save a file, eg. using a function saveFile(), with the nam
saveFile()
This worked for me
console.log(expect.getState().currentTestName);