import 'storycap/register'
を足す addDecorator(withScreenshot)
するconfig.jsaddParameters({
screenshot: {
viewports: {
large: {
width: 1024,
height: 768,
},
small: {
width: 375,
height: 668,
},
xsmall: {
width: 320,
height: 568,
},
},
},
})