bitovi / bitovi/funcunit

Document function chaining on website

Open
#126 0 comments 0 reactions 0 assignees View on GitHub
documentation p3
Dominant language
JavaScript
Stars
571
Forks
370
PR merge metrics
No merged PRs in 30d

Description

FuncUnit adds all actions to a queue to ensure that items fire in the correct order. Not only could this be made a little clearer (it helps with the overall understanding of the tool), but it should be noted that functions can be added to the chain:

``` javascript
F("input").exists().type("hello world");
$("input").text() === "hello world"; //-> not likely, due to how FuncUnit queue works

// queue up a function to run
F(function () {
$("input").text() === "hello world"; //-> true
});
```

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the FuncUnit website documentation covering action queues and chaining. Clarify that actions run in order and document how a function can be added to the chain, using the issue's JavaScript example. Done means the explanation and example are published on the website.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
documentation
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.