From d0a62f04f26716aabfba6d3b466e9a73f7f80044 Mon Sep 17 00:00:00 2001 From: ehmicky Date: Mon, 20 May 2019 10:00:00 +0200 Subject: [PATCH] Add comment --- test/helpers/test_each/suffix.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/helpers/test_each/suffix.js b/test/helpers/test_each/suffix.js index 79af1e7..1b8fe8f 100644 --- a/test/helpers/test_each/suffix.js +++ b/test/helpers/test_each/suffix.js @@ -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) }