mirror of
https://github.com/flynx/test.js.git
synced 2025-10-28 10:20:09 +00:00
minor tweaks...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
51849823c0
commit
207ac3802f
@ -286,14 +286,16 @@ XXX
|
||||
A _subclass_ or rather _sub-constructor_ of `Merged`.
|
||||
|
||||
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,
|
||||
e.g:
|
||||
for better readability in cases when we add a single element (`<key>`-`<func>`
|
||||
pair) or a bunch of elements (object), for example:
|
||||
```javascript
|
||||
// single element...
|
||||
test.Setup('some-setup',
|
||||
function(){
|
||||
// ...
|
||||
})
|
||||
|
||||
// arbitrary number of elements...
|
||||
test.Setups({
|
||||
'some-other-setup': function(){
|
||||
// ...
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user