AS a user of the package, I want to have a default value for the "sortBy" variable #50
Labels
No labels
blocked
documentation
duplicate
enhancement
good first issue
help wanted
invalid
needs criteria
needs estimate
needs tests
question
spike
type
admin
type
alert
type
bug
type
defect
type
dependencies
type
epic
type
investigation
type
story
wontfix
blocked
duplicate
needs criteria
needs designs
needs estimate
needs testing
question
type
admin
type
alert
type
bug
type
defect
type
dependencies
type
design
type
documentation
type
epic
type
incident
type
investigation
type
spike
type
story
won't fix
No project
No assignees
2 participants
Notifications
Total time spent: 19 minutes 43 seconds
Due date
Vylpes
14 minutes 43 seconds
VylpesTester
5 minutes
No due date set.
Blocks
#74 AS a command line user, I want to be able to interact with the sort option}
RabbitLabs/random-bunny
Reference: RabbitLabs/random-bunny#50
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Story Points: 1
AS a user of the package, I want to have a default value for the "sortBy" variable
SO THAT I don't have to specify it if I don't need it changed
Acceptance Criteria
AS a user of the package
GIVEN I want to use the default variable
WHEN I run the function without specifying a variable
THEN the script should run without saying I didn't give it
AND the script should sort by new
AS a user of the package
GIVEN I want to use a different sorting
WHEN I specify a sortBy value
THEN the script should use this instead
Subtasks
Notes
Add default variable to "sortBy" in the functionto AS a user of the package, I want to have a default value for the "sortBy" variableThis has passed testing, running
await randomBunny('rabbits')
still runs fine