Skip to content

Commit

Permalink
test: remove unprefixed elements from tests
Browse files Browse the repository at this point in the history
Signed-off-by: Trezy <tre@trezy.com>
  • Loading branch information
trezy committed Dec 31, 2024
1 parent 18cbb93 commit 0b85efa
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions test/unit/typedefs/PixiElements.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@ describe('PixiElements', () =>
it('applies children and props', () =>
{
const elements = (
<container>
<graphics draw={(_: Graphics) => { /* noop */ }} />
<sprite texture={Texture.EMPTY} />
<alphaFilter alpha={0.5} />
<pixiContainer>
<pixiGraphics draw={(_: Graphics) => { /* noop */ }} />
<pixiSprite texture={Texture.EMPTY} />
<pixiAlphaFilter alpha={0.5} />
<pixiText anchor={{ x: 0.5, y: 0.5 }} text="Hello, World!" />
</container>
</pixiContainer>
);

expect(elements.props.children).toHaveLength(4);
Expand Down

0 comments on commit 0b85efa

Please sign in to comment.