Skip to content

Commit

Permalink
Add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
ehmicky committed May 20, 2019
1 parent 0ac3cc1 commit d0a62f0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/helpers/test_each/suffix.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
import { serializeArg } from './serialize.js'

// Retrieve unique suffixes for each iteration
// To customize suffixes of a specific iterable, add `suffix` properties to it,
// for example with `Array.map()`.
// To customize suffixes of all iterables, generate it inside the iterated value
// using all values.
export const getSuffixes = function(args) {
return args.map(getSuffix).map(fixDuplicate)
}
Expand Down

0 comments on commit d0a62f0

Please sign in to comment.