---
source: crates/oxc_linter/src/tester.rs
---
  ⚠ eslint-plugin-jest(no-deprecated-functions): Disallow use of deprecated functions
   ╭─[no_deprecated_functions.tsx:1:1]
 1 │ jest.resetModuleRegistry
   · ────────────────────────
   ╰────
  help: "jest.resetModuleRegistry" has been deprecated in favor of "jest.resetModules"

  ⚠ eslint-plugin-jest(no-deprecated-functions): Disallow use of deprecated functions
   ╭─[no_deprecated_functions.tsx:1:1]
 1 │ jest.resetModuleRegistry
   · ────────────────────────
   ╰────
  help: "jest.resetModuleRegistry" has been deprecated in favor of "jest.resetModules"

  ⚠ eslint-plugin-jest(no-deprecated-functions): Disallow use of deprecated functions
   ╭─[no_deprecated_functions.tsx:1:1]
 1 │ jest.addMatchers
   · ────────────────
   ╰────
  help: "jest.addMatchers" has been deprecated in favor of "expect.extend"

  ⚠ eslint-plugin-jest(no-deprecated-functions): Disallow use of deprecated functions
   ╭─[no_deprecated_functions.tsx:1:1]
 1 │ require.requireMock
   · ───────────────────
   ╰────
  help: "require.requireMock" has been deprecated in favor of "jest.requireMock"

  ⚠ eslint-plugin-jest(no-deprecated-functions): Disallow use of deprecated functions
   ╭─[no_deprecated_functions.tsx:1:1]
 1 │ require.requireActual
   · ─────────────────────
   ╰────
  help: "require.requireActual" has been deprecated in favor of "jest.requireMock"

  ⚠ eslint-plugin-jest(no-deprecated-functions): Disallow use of deprecated functions
   ╭─[no_deprecated_functions.tsx:1:1]
 1 │ jest.runTimersToTime
   · ────────────────────
   ╰────
  help: "jest.runTimersToTime" has been deprecated in favor of "jest.advanceTimersByTime"

  ⚠ eslint-plugin-jest(no-deprecated-functions): Disallow use of deprecated functions
   ╭─[no_deprecated_functions.tsx:1:1]
 1 │ jest.genMockFromModule
   · ──────────────────────
   ╰────
  help: "jest.genMockFromModule" has been deprecated in favor of "jest.createMockFromModule"
