Skip to content

test(looping): Add test for #179 - #180

Draft
Zearin wants to merge 2 commits into
11ty:mainfrom
Zearin:looping-handles-different-iterables
Draft

Zearin wants to merge 2 commits into
11ty:mainfrom
Zearin:looping-handles-different-iterables

Conversation

@Zearin

@Zearin Zearin commented May 21, 2023

Copy link
Copy Markdown
Contributor

Adds a test to address Issue #179.

According to the WebC docs webc:for:

…works with Objects and any Iterable (String, Array, Map, Set, etc).


Currently a draft, as I don’t have the skill to make the test pass. ☹

Issue 179:
> bug: “`loopContent.map is not a function (via TypeError)`” 11ty#179
@Zearin
Zearin marked this pull request as ready for review May 21, 2023 16:13
@Zearin
Zearin marked this pull request as draft May 21, 2023 16:14
@Zearin

Zearin commented May 21, 2023

Copy link
Copy Markdown
Contributor Author

@zachleat Can you help get this test to pass?

@Zearin

Zearin commented May 27, 2023

Copy link
Copy Markdown
Contributor Author

@zachleat Can you help me fix this bug? Currently, webc:for does not do what the docs say that it should.

@zachleat

Copy link
Copy Markdown
Member

Close/reopen for CI

@zachleat zachleat closed this Sep 16, 2026
@zachleat zachleat reopened this Sep 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants