Skip to content

feat!: support eslint-remote-tester@v4, ESM & FlatConfig #203

feat!: support eslint-remote-tester@v4, ESM & FlatConfig

feat!: support eslint-remote-tester@v4, ESM & FlatConfig #203

Triggered via pull request June 8, 2024 10:46
Status Failure
Total duration 22s
Artifacts

CI.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

5 errors and 1 warning
test/comment-templates.test.ts > createComment > results are shown in details: src/peer-dependencies.ts#L66
Error: [vitest] No "error" export is defined on the "@actions/core" 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("@actions/core", async (importOriginal) => { const actual = await importOriginal() return { ...actual, // your mocked methods } }) ❯ Module.importPeerDependency src/peer-dependencies.ts:66:14 ❯ Module.createComment src/comment-templates.ts:39:51 ❯ test/comment-templates.test.ts:24:25
test/comment-templates.test.ts > createComment > results are limited based on maxResultCount: src/peer-dependencies.ts#L66
Error: [vitest] No "error" export is defined on the "@actions/core" 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("@actions/core", async (importOriginal) => { const actual = await importOriginal() return { ...actual, // your mocked methods } }) ❯ Module.importPeerDependency src/peer-dependencies.ts:66:14 ❯ Module.createComment src/comment-templates.ts:39:51 ❯ test/comment-templates.test.ts:75:25
test/comment-templates.test.ts > createComment > count of scanned repositories is not added when it's unavailable: src/peer-dependencies.ts#L66
Error: [vitest] No "error" export is defined on the "@actions/core" 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("@actions/core", async (importOriginal) => { const actual = await importOriginal() return { ...actual, // your mocked methods } }) ❯ Module.importPeerDependency src/peer-dependencies.ts:66:14 ❯ Module.createComment src/comment-templates.ts:39:51 ❯ test/comment-templates.test.ts:130:25
test/comment-templates.test.ts > createComment > length of results are limited below 65K characters: src/peer-dependencies.ts#L66
Error: [vitest] No "error" export is defined on the "@actions/core" 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("@actions/core", async (importOriginal) => { const actual = await importOriginal() return { ...actual, // your mocked methods } }) ❯ Module.importPeerDependency src/peer-dependencies.ts:66:14 ❯ Module.createComment src/comment-templates.ts:39:51 ❯ test/comment-templates.test.ts:193:25
test
Process completed with exit code 1.
test
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: pnpm/action-setup@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.