Optional
format?: { top level key for opting out of file formats
Optional
cydisable .cyTest format
Optional
function?: booleandisable .cy function format
Optional
object?: booleandisable .cy object format
Optional
storyoptional to inform mount/require style tests that the root directory
where stories can be found is not ./src/
which is the default.
This lib for instance, sets it as ./stories/
Configure the cypress storybook test runner. You can put this in config object e.g.
or similarly in setupNodeEvents via
config.env.cyTest.format.object = false
etc.Provide format.cyTest to disable adding
.cyTest
format tests to stories, format.object to disable.cy = {"should x", () => ...}
, format.function to disable.cy = () => ...
. If false is provided for all three, then tests must be kept in external files.Default is
true
for all values.