1 | ;
|
2 |
|
3 | const {
|
4 | TEST_ID
|
5 | } = require('./const');
|
6 |
|
7 | const config = require('./config');
|
8 |
|
9 | const select = (strings, ...values) => strings.reduce((acc, val, i) => acc.concat(val, values[i] ? `[${config.prefix}${values[i][TEST_ID]}]` : ''), '').replace(/\s+/g, ' ').trim();
|
10 |
|
11 | module.exports = select; |
\ | No newline at end of file |