fix(input): support oe and ae ligature input (@Dawn-Fighter) #15224
monkey-ci.yml
on: pull_request
Annotations
4 errors and 3 warnings
|
ci-fe
Process completed with exit code 1.
|
|
ci-fe
@monkeytype/frontend#test: command (/home/runner/work/monkeytype/monkeytype/frontend) /home/runner/setup-pnpm/node_modules/.bin/pnpm run test exited (1)
|
|
[unit] __tests__/input/handlers/insert-text.spec.ts > insert-text ligature input overrides > penalizes skipping the ligature completion character:
frontend/src/ts/input/handlers/insert-text.ts#L273
Error: [vitest] No "getComposing" export is defined on the "../../../src/ts/legacy-states/composition" mock. Did you forget to return it from "vi.mock"?
If you need to partially mock a module, you can use "importOriginal" helper inside:
vi.mock(import("../../../src/ts/legacy-states/composition"), async (importOriginal) => {
const actual = await importOriginal()
return {
...actual,
// your mocked methods
}
})
❯ Module.onInsertText src/ts/input/handlers/insert-text.ts:273:25
❯ __tests__/input/handlers/insert-text.spec.ts:164:11
|
|
[unit] __tests__/input/handlers/insert-text.spec.ts > insert-text ligature input overrides > removes the completion character and keeps input state synced:
frontend/src/ts/input/handlers/insert-text.ts#L273
Error: [vitest] No "getComposing" export is defined on the "../../../src/ts/legacy-states/composition" mock. Did you forget to return it from "vi.mock"?
If you need to partially mock a module, you can use "importOriginal" helper inside:
vi.mock(import("../../../src/ts/legacy-states/composition"), async (importOriginal) => {
const actual = await importOriginal()
return {
...actual,
// your mocked methods
}
})
❯ Module.onInsertText src/ts/input/handlers/insert-text.ts:273:25
❯ __tests__/input/handlers/insert-text.spec.ts:142:11
|
|
prime-cache
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/cache@v4, actions/checkout@v4, pnpm/action-setup@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
ci-fe
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/cache@v4, actions/checkout@v4, actions/setup-node@v4, pnpm/action-setup@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
on-failure
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/upload-artifact@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
pr_num
|
141 Bytes |
sha256:6a82e871e4b52fa7ee0d687fa07cfd4e64e092861de5375a5fcda599e2fe9599
|
|