Skip to content

<div> required to wrap <For each> in order to query elements. #53

Open
@birkskyum

Description

@birkskyum

In order to use Vitest getByText with solid, I found it was necessary to wrap <For each /> with a <div> element. This isn't necessary in the jest or uvu examples.

https://github.com/solidjs/templates/pull/140/files#diff-bd38a4b23a37c0b01fcb17b274fa2578fccce12a7ec824627c84003858ef819d

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