stringArray calls wrappers now inserted as FunctionDeclaration nodes at random indexes

This commit is contained in:
sanex
2021-04-10 23:28:12 +03:00
parent 52358aba26
commit 4f9df91320
17 changed files with 147 additions and 143 deletions
@@ -55,7 +55,7 @@ describe('StringArrayCallsWrapperCodeHelper', () => {
describe('Preserve string array name', () => {
const callsWrapperRegExp: RegExp = new RegExp(`` +
`var b *= *function *\\(c, *d\\) *{ *` +
`function *b *\\(c, *d\\) *{ *` +
`c *= *c *- *0x0; *` +
`var e *= *a\\[c]; *` +
``);