Skip to content

🛠 Tooling: Test failures in CI on main #768

@JoshuaKGoldberg

Description

@JoshuaKGoldberg

Bug Report Checklist

  • I have tried restarting my IDE and the issue persists.
  • I have pulled the latest main branch of the repository.
  • I have searched for related issues and found none that matched my issue.

Overview

Example from https://github.com/JoshuaKGoldberg/ts-api-utils/actions/runs/20534920481/job/58991873544:

⎯⎯⎯⎯⎯⎯ Failed Suites 14 ⎯⎯⎯⎯⎯⎯

 FAIL  src/comments.test.ts [ src/comments.test.ts ]
 FAIL  src/tokens.test.ts [ src/tokens.test.ts ]
 FAIL  src/nodes/access.test.ts [ src/nodes/access.test.ts ]
 FAIL  src/types/getters.test.ts [ src/types/getters.test.ts ]
 FAIL  src/types/utilities.test.ts [ src/types/utilities.test.ts ]
 FAIL  src/usage/collectVariableUsage.test.ts [ src/usage/collectVariableUsage.test.ts ]
 FAIL  src/nodes/typeGuards/compound.test.ts [ src/nodes/typeGuards/compound.test.ts ]
 FAIL  src/nodes/typeGuards/single.test.ts [ src/nodes/typeGuards/single.test.ts ]
 FAIL  src/nodes/typeGuards/union.test.ts [ src/nodes/typeGuards/union.test.ts ]
 FAIL  src/types/typeGuards/compound.test.ts [ src/types/typeGuards/compound.test.ts ]
 FAIL  src/types/typeGuards/intrinsic.test.ts [ src/types/typeGuards/intrinsic.test.ts ]
 FAIL  src/types/typeGuards/literal.test.ts [ src/types/typeGuards/literal.test.ts ]
 FAIL  src/types/typeGuards/objects.test.ts [ src/types/typeGuards/objects.test.ts ]
 FAIL  src/types/typeGuards/single.test.ts [ src/types/typeGuards/single.test.ts ]
TypeError: localStorage.getItem is not a function
 ❯ Object.<anonymous> node_modules/.pnpm/@typescript+vfs@1.6.1_typescript@5.9.3/node_modules/@typescript/vfs/src/index.ts:26:55
 ❯ Object.<anonymous> node_modules/.pnpm/@typescript+vfs@1.6.1_typescript@5.9.3/node_modules/@typescript/vfs/dist/index.js:7:20

Additional Info

I haven't investigated deeply into when this started or where it came from. PRs shouldn't feel blocked on fixing it. We'll just have to run pnpm run test locally until this is fixed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: toolingManaging the repository's maintenance 🛠️status: accepting prsPlease, send a pull request to resolve this! 🙏type: bugSomething isn't working 🐛

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions