Skip to content
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 unicodeset-parser-api #12714

Conversation

markcsinclair
Copy link
Contributor

@markcsinclair markcsinclair commented Nov 27, 2024

Unit tests for ldml-keyboard/unicodeset-parser-api.ts

See #9052

@keymanapp-test-bot skip

@keymanapp-test-bot
Copy link

keymanapp-test-bot bot commented Nov 27, 2024

User Test Results

Test specification and instructions

User tests are not required

@keymanapp-test-bot keymanapp-test-bot bot added this to the A18S16 milestone Nov 27, 2024
@github-actions github-actions bot added common/ common/web/ test Any acceptance test issue web/ labels Nov 27, 2024
@markcsinclair markcsinclair changed the base branch from master to test/common/web/types/9052-unit-tests-string-list November 27, 2024 07:08
@markcsinclair markcsinclair marked this pull request as draft November 27, 2024 07:08
@markcsinclair markcsinclair self-assigned this Nov 27, 2024
Base automatically changed from test/common/web/types/9052-unit-tests-string-list to master November 28, 2024 01:49
@github-actions github-actions bot added web/ and removed web/ labels Nov 28, 2024
@markcsinclair markcsinclair marked this pull request as ready for review November 28, 2024 02:06
Comment on lines 16 to 17
this.pattern = pattern;
this.ranges = ranges;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This shouldn't be necessary as you have public in the constructor properties, which does the same thing.

Suggested change
this.pattern = pattern;
this.ranges = ranges;

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Now with improved knowledge of TS, I can take out the whole MockUnicodeSet.

@github-actions github-actions bot added web/ and removed web/ labels Nov 29, 2024
@github-actions github-actions bot added web/ and removed web/ labels Nov 29, 2024
@github-actions github-actions bot added web/ and removed web/ labels Nov 29, 2024
@markcsinclair markcsinclair merged commit 9c84816 into master Nov 29, 2024
3 checks passed
@markcsinclair markcsinclair deleted the test/common/web/types/9052-unit-tests-unicodeset-parser-api branch November 29, 2024 03:32
@keyman-server
Copy link
Collaborator

Changes in this pull request will be available for download in Keyman version 18.0.148-alpha

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
common/web/ common/ test Any acceptance test issue web/
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants