Skip to content
This repository was archived by the owner on Apr 18, 2022. It is now read-only.

Increase scope of nested only flag #22

@KyleJune

Description

@KyleJune

Currently the only flag will only apply to the top level test it is nested in. That means that tests before and after it at the top level will still run without having an only flag. That is because the top level tests get registered immediately and I cannot modify the definition after it is registered.

If there was or is a way to detect when tests will start running, I could delay actually calling Deno.test until right before it's needed, that would allow me to add only flags to the top level tests that need them.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions