(testName, input, expected)
| 277 | ) |
| 278 | |
| 279 | const testEscapeIdentifier = function (testName, input, expected) { |
| 280 | test(testName, function () { |
| 281 | const actual = utils.escapeIdentifier(input) |
| 282 | assert.equal(expected, actual) |
| 283 | }) |
| 284 | } |
| 285 | |
| 286 | testEscapeIdentifier('escapeIdentifier: no special characters', 'hello world', '"hello world"') |
| 287 |
no test coverage detected
searching dependent graphs…