hardhat icon indicating copy to clipboard operation
hardhat copied to clipboard

Describe.only does nothing...

Open JimLynchCodes opened this issue 3 years ago • 2 comments

Hi! I have a few test files in my project, and I would like to run only a single file.

I have seen others recommend to write "describe.only" in a test file to run only that describe block.

However, all my test files are run when I add this.

This is a bug because it should run ONLY the describe block marked with the .only but it incorrectly runs all describe blocks in all files.

JimLynchCodes avatar Aug 04 '22 18:08 JimLynchCodes

This issue is also being tracked on Linear.

We use Linear to manage our development process, but we keep the conversations on Github.

LINEAR-ID: 91b95802-b9fe-4f4f-8c36-d9e778027813

github-actions[bot] avatar Aug 04 '22 18:08 github-actions[bot]

@JimLynchCodes can you provide reproduction steps? This works for me.

fvictorio avatar Aug 08 '22 08:08 fvictorio

Closing for lack of reproduction steps.

fvictorio avatar Aug 20 '22 22:08 fvictorio