minor tweaks...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2020-08-18 19:41:44 +03:00
parent 51849823c0
commit 207ac3802f

View File

@ -286,14 +286,16 @@ XXX
A _subclass_ or rather _sub-constructor_ of `Merged`. A _subclass_ or rather _sub-constructor_ of `Merged`.
Note that `Setups` and `Setup` are references to the same object, they exists Note that `Setups` and `Setup` are references to the same object, they exists
for better readability in cases when we add a single test or a bunch of tests, for better readability in cases when we add a single element (`<key>`-`<func>`
e.g: pair) or a bunch of elements (object), for example:
```javascript ```javascript
// single element...
test.Setup('some-setup', test.Setup('some-setup',
function(){ function(){
// ... // ...
}) })
// arbitrary number of elements...
test.Setups({ test.Setups({
'some-other-setup': function(){ 'some-other-setup': function(){
// ... // ...