-
-
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/types): unit tests for string-list #12702
test(common/web/types): unit tests for string-list #12702
Conversation
User Test ResultsTest specification and instructions User tests are not required |
Hmm ... I have been happily typing |
…052-unit-tests-string-list
Ready for review ... as this has largely been done in a single day following a context switch from C++, please check carefully. |
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.
LGTM
@@ -0,0 +1,207 @@ | |||
import 'mocha'; |
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.
Let's add the standard header https://github.com/keymanapp/keyman/wiki/Keyman-Code-Style-Guide#file-header
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.
Done
for (const s of source) | ||
listItem.push(new ListIndex(new StrsItem(s))); |
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.
for (const s of source) | |
listItem.push(new ListIndex(new StrsItem(s))); | |
for (const s of source) { | |
listItem.push(new ListIndex(new StrsItem(s))); | |
} |
Per style guide once more ("Always use braces and always on a new line")
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.
Done
Changes in this pull request will be available for download in Keyman version 18.0.147-alpha |
Unit tests for `ldml-keyboard/string-list.ts'
See #9052
@keymanapp-test-bot skip