Change8

@cloudflare/eslint-config-shared@1.2.1

📦 cloudflare-workersView on GitHub →
1 features🔧 1 symbols

Summary

This patch introduces a new ESLint rule to enforce using the test context provided `expect` over importing it directly from `vitest`.

Migration Steps

  1. Standardize on retrieving `expect` from the test context instead of importing it from `vitest` to ensure safety in concurrent tests.

✨ New Features

  • Add an ESLint rule checking that `expect` is not imported from `vitest`.

Affected Symbols