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

Ubuntu CI test only #908

Closed
wants to merge 19 commits into from
Closed

Ubuntu CI test only #908

wants to merge 19 commits into from

Conversation

ZeLonewolf
Copy link
Member

PR for the purpose of debugging PR #905 CI tests.

1ec5 and others added 8 commits July 23, 2023 00:05
…ility

Specifying the `main`, `module`, and `browser` options in package.json should allow the proper format
to be selected by the importing context.
…module resolution issue

ts-node is importing the common js module build rather than the esmodule build, but treating it as an esmodule.
This leads to name resolution errors.  importing the typescript source file instead of the build output works around
this issue.
…e resolution issue

ts-node is importing the common js module build rather than the esmodule build, but treating it as an esmodule.
This leads to name resolution errors. importing the typescript source file instead of the build output works around
this issue.
@github-actions
Copy link

PR Preview:

Sprite Sheets:

Sprites 1x
Sprites 2x

name: "L'Aquila",
"name:en": "L’Aquila",
};
it("L'Aquila special case 1", function () {
Copy link
Member

Choose a reason for hiding this comment

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

Test case names should read like sentences describing the intended result.

!isMultiName &&
diacriticInsensitiveCaseInsensitiveSubstring(localized, local)
) {
//Québec + Quebec City = Québec City case
Copy link
Member

@1ec5 1ec5 Jul 31, 2023

Choose a reason for hiding this comment

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

Reimplementing the expressions in imperative JavaScript is an interesting exercise, but I don’t think it can replace the existing tests that verify the expected results directly. It ends up being more surface area that itself needs to be tested. Our objective is to ensure the expression evaluates to “Québec City” for user display, not that MapLibre implements these expressions using particular JavaScript functions.

@ZeLonewolf
Copy link
Member Author

Just to be clear, I'm primarily using this PR as a vehicle to identify the cause of the test case failure, since it only seems to be a problem on the CI system.

@ZeLonewolf ZeLonewolf closed this Jul 31, 2023
@ZeLonewolf ZeLonewolf deleted the zlw-gloss-ci-test branch August 1, 2023 17:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants