Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gutter icons don't match the result when the test is inside of a describe block #19

Open
pgzm29 opened this issue Feb 20, 2025 · 0 comments

Comments

@pgzm29
Copy link

pgzm29 commented Feb 20, 2025

Hello 👋

First off, thanks for this awesome adapter, it makes working with Pest inside of Neovim a breeze!

I'm facing an issue when the test is wrapped with a describe block, the icons in the gutter (and in the Test Summary) don't match the test result, they always show as if the test didn't pass. The test result overlay renders correctly as the output of running pest directly from the console. (please refer to the attached screenshots).

This will work as expected:

it('should work', function () {
    expect(true)->toBeTrue();
});

This will show a red x in the gutter even though the test is passing.

describe('Describe Block', function () {
    it('should work', function () {
        expect(true)->toBeTrue();
    });
});

It would be great to have the correct gutter icons when describe blocks are present in the test suite.

Thanks!

Image

Image

Image

Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant