Closed dalssoft closed 1 year ago
Currently herbs spec does not run if the spec hasn't usecases and/or metadatas, but it should not be necessary.
Without use case inside spec:
const createUserSpec = spec({ // usecase: createUser, <- should run without 'Create a new user when it is valid': scenario({ ...
or without metadata:
module.exports = herbarium.specs .add(createUserSpec, 'CreateUserSpec') // .metadata({ usecase: 'CreateUser' }) <- should run without .spec
Currently herbs spec does not run if the spec hasn't usecases and/or metadatas, but it should not be necessary.
Without use case inside spec:
or without metadata: