Ghost/apps/admin-x-settings/test/acceptance/advanced
Daniel Lockyer 8a4e81fadd
Fixed splitting string into characters (#18480)
- quite funny because it's such a sneaky thing to discover
- this code actually results in looping over
`'xxxxx<,t,e,s,t,f,o,o,t,>'` and not an array of characters
- adding brackets fixes that

---

<!-- Leave the line below if you'd like GitHub Copilot to generate a
summary from your commit -->
<!--
copilot:summary
-->
### <samp>🤖 Generated by Copilot at 584ab6c</samp>

Fix a bug in the code injection test case for the admin settings app.
Ensure that the test code is properly padded and split by using
parentheses in the string concatenations.

---------

Co-authored-by: Jono Mingard <reason.koan@gmail.com>
2023-10-09 09:07:34 +01:00
..
integrations Improved AdminX test coverage based on old admin tests (#18502) 2023-10-06 10:06:05 +01:00
codeInjection.test.ts Fixed splitting string into characters (#18480) 2023-10-09 09:07:34 +01:00
history.test.ts Renamed e2e tests to acceptance tests in Admin X (#18439) 2023-10-03 16:20:40 +07:00
labs.test.ts Improved AdminX test coverage based on old admin tests (#18502) 2023-10-06 10:06:05 +01:00