You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
oxlint 1.70 enables vitest/require-to-throw-message by default, which flags 24 pre-existing .toThrow() / .rejects.toThrow() calls that assert no message. The oxlint bump was held at 1.62.0 in the latest dependency update so this surfaced separately rather than blocking routine bumps.
Add a matcher argument (string or regex) to each call so the assertions verify which error is thrown, then bump oxlint to 1.70+ (currently latest) and drop the hold.
oxlint 1.70 enables
vitest/require-to-throw-messageby default, which flags 24 pre-existing.toThrow()/.rejects.toThrow()calls that assert no message. The oxlint bump was held at 1.62.0 in the latest dependency update so this surfaced separately rather than blocking routine bumps.Add a matcher argument (string or regex) to each call so the assertions verify which error is thrown, then bump oxlint to 1.70+ (currently latest) and drop the hold.
Affected files (24 sites)
packages/graph-explorer/src/connector/sparql/parseAndMapQuads.test.tspackages/graph-explorer/src/connector/sparql/fetchNeighbors/index.test.tspackages/graph-explorer/src/connector/queries/edgeConnectionsQuery.test.tspackages/graph-explorer/src/connector/queries/schemaSyncQuery.test.tspackages/graph-explorer/src/connector/sparql/neighborCounts.test.tspackages/graph-explorer/src/connector/sparql/rawQuery.test.tspackages/graph-explorer/src/connector/fetchDatabaseRequest.test.tspackages/graph-explorer/src/core/StateProvider/localDb.test.tspackages/graph-explorer-proxy-server/src/server.test.tsDone when
.toThrow()asserts a specific message/patternpackage.jsonpnpm run checkspassesRelated: #1753 (enabling other disabled oxlint rules)
Important
Internal only — this issue is maintained by the core team and is not accepting external contributions.