-
-
Notifications
You must be signed in to change notification settings - Fork 111
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
test(common/web): unit tests for element-string #12811
test(common/web): unit tests for element-string #12811
Conversation
User Test ResultsTest specification and instructions User tests are not required |
…052-unit-tests-element-string
… on fromStrings() in isEqual() tests
…052-unit-tests-element-string
Ready for review. Two fixes will be needed to cover the issues addressed by skipped tests. |
…052-unit-tests-element-string
const actual = ElementString.fromStrings(sections, "\\ud800\\udf30"); | ||
const expected = [ | ||
initElemElement(HI_GOTHIC_A), | ||
initElemElement(LO_GOTHIC_A), | ||
]; | ||
assert.deepEqual(actual, expected); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this will work here, but is tested for in the keyboard compiler to be avoided ( the \\ud800
and \\udf30
will be rejected)
Sorry for the delay! Maybe best to test w/ update before merging |
…052-unit-tests-element-string
Changes in this pull request will be available for download in Keyman version 18.0.170-alpha |
Unit tests for
kmx/kmx-plus/element-string.ts
See #9052
@keymanapp-test-bot skip