Skip to content

Feature request: support "minutes" for duration #703

@perrinjerome

Description

@perrinjerome

How about supporting something like this ?

Expected Behavior

import 'zx/globals'
await $`sleep 2m`.timeout("1m")

Actual Behavior

Error: Unknown duration: "1m".

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions