From 185abde17ebbe706b6b776cbb9ba2091d9b6fc5d Mon Sep 17 00:00:00 2001 From: Nitin Kumar Date: Sun, 25 Oct 2020 19:03:06 +0530 Subject: [PATCH 1/3] chore(jest-core): standardize files name --- .../src/__tests__/SearchSource.test.ts | 2 +- .../{watch_plugin.js => watchPlugin.js} | 0 .../{watch_plugin2.js => watchPlugin2.js} | 0 ..._plugin_throws.js => watchPluginThrows.js} | 0 .../__snapshots__/watch.test.js.snap | 4 ++-- ... => watchFilenamePatternMode.test.js.snap} | 0 ... => watchTestNamePatternMode.test.js.snap} | 0 .../{run_jest.test.js => runJest.test.js} | 0 .../test_root/{no_tests.js => noTests.js} | 0 .../jest-core/src/__tests__/watch.test.js | 10 +++++----- ...anges.test.ts => watchFileChanges.test.ts} | 0 ...st.js => watchFilenamePatternMode.test.js} | 0 ...st.js => watchTestNamePatternMode.test.js} | 0 packages/jest-core/src/cli/index.ts | 6 +++--- ....ts.snap => logDebugMessages.test.ts.snap} | 0 ...valid_path.test.ts => isValidPath.test.ts} | 2 +- ...sages.test.ts => logDebugMessages.test.ts} | 2 +- ...ers_message.ts => activeFiltersMessage.ts} | 0 .../{create_context.ts => createContext.ts} | 0 ...rnings.ts => handleDeprecationWarnings.ts} | 0 .../lib/{is_valid_path.ts => isValidPath.ts} | 0 ..._debug_messages.ts => logDebugMessages.ts} | 0 ...global_config.ts => updateGlobalConfig.ts} | 0 ...gins_helpers.ts => watchPluginsHelpers.ts} | 0 .../src/plugins/{quit.ts => Quit.ts} | 0 ...est_name_pattern.ts => TestNamePattern.ts} | 2 +- ...est_path_pattern.ts => TestPathPattern.ts} | 2 +- ...update_snapshots.ts => UpdateSnapshots.ts} | 0 ...ctive.ts => UpdateSnapshotsInteractive.ts} | 0 packages/jest-core/src/watch.ts | 20 +++++++++---------- 30 files changed, 25 insertions(+), 25 deletions(-) rename packages/jest-core/src/__tests__/__fixtures__/{watch_plugin.js => watchPlugin.js} (100%) rename packages/jest-core/src/__tests__/__fixtures__/{watch_plugin2.js => watchPlugin2.js} (100%) rename packages/jest-core/src/__tests__/__fixtures__/{watch_plugin_throws.js => watchPluginThrows.js} (100%) rename packages/jest-core/src/__tests__/__snapshots__/{watch_filename_pattern_mode.test.js.snap => watchFilenamePatternMode.test.js.snap} (100%) rename packages/jest-core/src/__tests__/__snapshots__/{watch_test_name_pattern_mode.test.js.snap => watchTestNamePatternMode.test.js.snap} (100%) rename packages/jest-core/src/__tests__/{run_jest.test.js => runJest.test.js} (100%) rename packages/jest-core/src/__tests__/test_root/{no_tests.js => noTests.js} (100%) rename packages/jest-core/src/__tests__/{watch-file-changes.test.ts => watchFileChanges.test.ts} (100%) rename packages/jest-core/src/__tests__/{watch_filename_pattern_mode.test.js => watchFilenamePatternMode.test.js} (100%) rename packages/jest-core/src/__tests__/{watch_test_name_pattern_mode.test.js => watchTestNamePatternMode.test.js} (100%) rename packages/jest-core/src/lib/__tests__/__snapshots__/{log_debug_messages.test.ts.snap => logDebugMessages.test.ts.snap} (100%) rename packages/jest-core/src/lib/__tests__/{is_valid_path.test.ts => isValidPath.test.ts} (97%) rename packages/jest-core/src/lib/__tests__/{log_debug_messages.test.ts => logDebugMessages.test.ts} (97%) rename packages/jest-core/src/lib/{active_filters_message.ts => activeFiltersMessage.ts} (100%) rename packages/jest-core/src/lib/{create_context.ts => createContext.ts} (100%) rename packages/jest-core/src/lib/{handle_deprecation_warnings.ts => handleDeprecationWarnings.ts} (100%) rename packages/jest-core/src/lib/{is_valid_path.ts => isValidPath.ts} (100%) rename packages/jest-core/src/lib/{log_debug_messages.ts => logDebugMessages.ts} (100%) rename packages/jest-core/src/lib/{update_global_config.ts => updateGlobalConfig.ts} (100%) rename packages/jest-core/src/lib/{watch_plugins_helpers.ts => watchPluginsHelpers.ts} (100%) rename packages/jest-core/src/plugins/{quit.ts => Quit.ts} (100%) rename packages/jest-core/src/plugins/{test_name_pattern.ts => TestNamePattern.ts} (96%) rename packages/jest-core/src/plugins/{test_path_pattern.ts => TestPathPattern.ts} (96%) rename packages/jest-core/src/plugins/{update_snapshots.ts => UpdateSnapshots.ts} (100%) rename packages/jest-core/src/plugins/{update_snapshots_interactive.ts => UpdateSnapshotsInteractive.ts} (100%) diff --git a/packages/jest-core/src/__tests__/SearchSource.test.ts b/packages/jest-core/src/__tests__/SearchSource.test.ts index 5bb1deedc263..7cd80b9f3c23 100644 --- a/packages/jest-core/src/__tests__/SearchSource.test.ts +++ b/packages/jest-core/src/__tests__/SearchSource.test.ts @@ -229,7 +229,7 @@ describe('SearchSource', () => { ); expect(relPaths.sort()).toEqual([ path.normalize('module.jsx'), - path.normalize('no_tests.js'), + path.normalize('noTests.js'), ]); }); }); diff --git a/packages/jest-core/src/__tests__/__fixtures__/watch_plugin.js b/packages/jest-core/src/__tests__/__fixtures__/watchPlugin.js similarity index 100% rename from packages/jest-core/src/__tests__/__fixtures__/watch_plugin.js rename to packages/jest-core/src/__tests__/__fixtures__/watchPlugin.js diff --git a/packages/jest-core/src/__tests__/__fixtures__/watch_plugin2.js b/packages/jest-core/src/__tests__/__fixtures__/watchPlugin2.js similarity index 100% rename from packages/jest-core/src/__tests__/__fixtures__/watch_plugin2.js rename to packages/jest-core/src/__tests__/__fixtures__/watchPlugin2.js diff --git a/packages/jest-core/src/__tests__/__fixtures__/watch_plugin_throws.js b/packages/jest-core/src/__tests__/__fixtures__/watchPluginThrows.js similarity index 100% rename from packages/jest-core/src/__tests__/__fixtures__/watch_plugin_throws.js rename to packages/jest-core/src/__tests__/__fixtures__/watchPluginThrows.js diff --git a/packages/jest-core/src/__tests__/__snapshots__/watch.test.js.snap b/packages/jest-core/src/__tests__/__snapshots__/watch.test.js.snap index 18af264cdf5f..7ecbc5929cdb 100644 --- a/packages/jest-core/src/__tests__/__snapshots__/watch.test.js.snap +++ b/packages/jest-core/src/__tests__/__snapshots__/watch.test.js.snap @@ -51,13 +51,13 @@ Watch Usage `; exports[`Watch mode flows makes watch plugin initialization errors look nice 1`] = ` -[Error: Failed to initialize watch plugin "packages/jest-core/src/__tests__/__fixtures__/watch_plugin_throws": +[Error: Failed to initialize watch plugin "packages/jest-core/src/__tests__/__fixtures__/watchPluginThrows": ● Test suite failed to run initialization error - at Object. (__fixtures__/watch_plugin_throws.js:8:7) + at Object. (__fixtures__/watchPluginThrows.js:8:7) ] `; diff --git a/packages/jest-core/src/__tests__/__snapshots__/watch_filename_pattern_mode.test.js.snap b/packages/jest-core/src/__tests__/__snapshots__/watchFilenamePatternMode.test.js.snap similarity index 100% rename from packages/jest-core/src/__tests__/__snapshots__/watch_filename_pattern_mode.test.js.snap rename to packages/jest-core/src/__tests__/__snapshots__/watchFilenamePatternMode.test.js.snap diff --git a/packages/jest-core/src/__tests__/__snapshots__/watch_test_name_pattern_mode.test.js.snap b/packages/jest-core/src/__tests__/__snapshots__/watchTestNamePatternMode.test.js.snap similarity index 100% rename from packages/jest-core/src/__tests__/__snapshots__/watch_test_name_pattern_mode.test.js.snap rename to packages/jest-core/src/__tests__/__snapshots__/watchTestNamePatternMode.test.js.snap diff --git a/packages/jest-core/src/__tests__/run_jest.test.js b/packages/jest-core/src/__tests__/runJest.test.js similarity index 100% rename from packages/jest-core/src/__tests__/run_jest.test.js rename to packages/jest-core/src/__tests__/runJest.test.js diff --git a/packages/jest-core/src/__tests__/test_root/no_tests.js b/packages/jest-core/src/__tests__/test_root/noTests.js similarity index 100% rename from packages/jest-core/src/__tests__/test_root/no_tests.js rename to packages/jest-core/src/__tests__/test_root/noTests.js diff --git a/packages/jest-core/src/__tests__/watch.test.js b/packages/jest-core/src/__tests__/watch.test.js index e8d6eb079109..1dd256a73a93 100644 --- a/packages/jest-core/src/__tests__/watch.test.js +++ b/packages/jest-core/src/__tests__/watch.test.js @@ -11,8 +11,8 @@ import {JestHook, KEYS} from 'jest-watcher'; import TestWatcher from '../TestWatcher'; const runJestMock = jest.fn(); -const watchPluginPath = `${__dirname}/__fixtures__/watch_plugin`; -const watchPlugin2Path = `${__dirname}/__fixtures__/watch_plugin2`; +const watchPluginPath = `${__dirname}/__fixtures__/watchPlugin`; +const watchPlugin2Path = `${__dirname}/__fixtures__/watchPlugin2`; let results; jest.mock( @@ -84,10 +84,10 @@ jest.doMock( {virtual: true}, ); -const regularUpdateGlobalConfig = require('../lib/update_global_config') +const regularUpdateGlobalConfig = require('../lib/updateGlobalConfig') .default; const updateGlobalConfig = jest.fn(regularUpdateGlobalConfig); -jest.doMock('../lib/update_global_config', () => updateGlobalConfig); +jest.doMock('../lib/updateGlobalConfig', () => updateGlobalConfig); const nextTick = () => new Promise(res => process.nextTick(res)); @@ -583,7 +583,7 @@ describe('Watch mode flows', () => { }); it('makes watch plugin initialization errors look nice', async () => { - const pluginPath = `${__dirname}/__fixtures__/watch_plugin_throws`; + const pluginPath = `${__dirname}/__fixtures__/watchPluginThrows`; await expect( watch( diff --git a/packages/jest-core/src/__tests__/watch-file-changes.test.ts b/packages/jest-core/src/__tests__/watchFileChanges.test.ts similarity index 100% rename from packages/jest-core/src/__tests__/watch-file-changes.test.ts rename to packages/jest-core/src/__tests__/watchFileChanges.test.ts diff --git a/packages/jest-core/src/__tests__/watch_filename_pattern_mode.test.js b/packages/jest-core/src/__tests__/watchFilenamePatternMode.test.js similarity index 100% rename from packages/jest-core/src/__tests__/watch_filename_pattern_mode.test.js rename to packages/jest-core/src/__tests__/watchFilenamePatternMode.test.js diff --git a/packages/jest-core/src/__tests__/watch_test_name_pattern_mode.test.js b/packages/jest-core/src/__tests__/watchTestNamePatternMode.test.js similarity index 100% rename from packages/jest-core/src/__tests__/watch_test_name_pattern_mode.test.js rename to packages/jest-core/src/__tests__/watchTestNamePatternMode.test.js diff --git a/packages/jest-core/src/cli/index.ts b/packages/jest-core/src/cli/index.ts index f74cb49fdd94..a6938bea6482 100644 --- a/packages/jest-core/src/cli/index.ts +++ b/packages/jest-core/src/cli/index.ts @@ -17,15 +17,15 @@ import chalk = require('chalk'); import rimraf = require('rimraf'); import exit = require('exit'); import type {Filter} from '../types'; -import createContext from '../lib/create_context'; +import createContext from '../lib/createContext'; import getChangedFilesPromise from '../getChangedFilesPromise'; import {formatHandleErrors} from '../collectHandles'; -import handleDeprecationWarnings from '../lib/handle_deprecation_warnings'; +import handleDeprecationWarnings from '../lib/handleDeprecationWarnings'; import runJest from '../runJest'; import TestWatcher from '../TestWatcher'; import watch from '../watch'; import pluralize from '../pluralize'; -import logDebugMessages from '../lib/log_debug_messages'; +import logDebugMessages from '../lib/logDebugMessages'; import getConfigsOfProjectsToRun from '../getConfigsOfProjectsToRun'; import getProjectNamesMissingWarning from '../getProjectNamesMissingWarning'; import getSelectProjectsMessage from '../getSelectProjectsMessage'; diff --git a/packages/jest-core/src/lib/__tests__/__snapshots__/log_debug_messages.test.ts.snap b/packages/jest-core/src/lib/__tests__/__snapshots__/logDebugMessages.test.ts.snap similarity index 100% rename from packages/jest-core/src/lib/__tests__/__snapshots__/log_debug_messages.test.ts.snap rename to packages/jest-core/src/lib/__tests__/__snapshots__/logDebugMessages.test.ts.snap diff --git a/packages/jest-core/src/lib/__tests__/is_valid_path.test.ts b/packages/jest-core/src/lib/__tests__/isValidPath.test.ts similarity index 97% rename from packages/jest-core/src/lib/__tests__/is_valid_path.test.ts rename to packages/jest-core/src/lib/__tests__/isValidPath.test.ts index 1b8236156383..53ca0972e254 100644 --- a/packages/jest-core/src/lib/__tests__/is_valid_path.test.ts +++ b/packages/jest-core/src/lib/__tests__/isValidPath.test.ts @@ -6,7 +6,7 @@ */ import * as path from 'path'; -import isValidPath from '../is_valid_path'; +import isValidPath from '../isValidPath'; import {makeGlobalConfig} from '../../../../../TestUtils'; const rootDir = path.resolve(path.sep, 'root'); diff --git a/packages/jest-core/src/lib/__tests__/log_debug_messages.test.ts b/packages/jest-core/src/lib/__tests__/logDebugMessages.test.ts similarity index 97% rename from packages/jest-core/src/lib/__tests__/log_debug_messages.test.ts rename to packages/jest-core/src/lib/__tests__/logDebugMessages.test.ts index 036a1b0f0004..96ab5a6ac83b 100644 --- a/packages/jest-core/src/lib/__tests__/log_debug_messages.test.ts +++ b/packages/jest-core/src/lib/__tests__/logDebugMessages.test.ts @@ -7,7 +7,7 @@ */ import {wrap} from 'jest-snapshot-serializer-raw'; -import logDebugMessages from '../log_debug_messages'; +import logDebugMessages from '../logDebugMessages'; import {makeGlobalConfig, makeProjectConfig} from '../../../../../TestUtils'; jest.mock('../../../package.json', () => ({version: 123})); diff --git a/packages/jest-core/src/lib/active_filters_message.ts b/packages/jest-core/src/lib/activeFiltersMessage.ts similarity index 100% rename from packages/jest-core/src/lib/active_filters_message.ts rename to packages/jest-core/src/lib/activeFiltersMessage.ts diff --git a/packages/jest-core/src/lib/create_context.ts b/packages/jest-core/src/lib/createContext.ts similarity index 100% rename from packages/jest-core/src/lib/create_context.ts rename to packages/jest-core/src/lib/createContext.ts diff --git a/packages/jest-core/src/lib/handle_deprecation_warnings.ts b/packages/jest-core/src/lib/handleDeprecationWarnings.ts similarity index 100% rename from packages/jest-core/src/lib/handle_deprecation_warnings.ts rename to packages/jest-core/src/lib/handleDeprecationWarnings.ts diff --git a/packages/jest-core/src/lib/is_valid_path.ts b/packages/jest-core/src/lib/isValidPath.ts similarity index 100% rename from packages/jest-core/src/lib/is_valid_path.ts rename to packages/jest-core/src/lib/isValidPath.ts diff --git a/packages/jest-core/src/lib/log_debug_messages.ts b/packages/jest-core/src/lib/logDebugMessages.ts similarity index 100% rename from packages/jest-core/src/lib/log_debug_messages.ts rename to packages/jest-core/src/lib/logDebugMessages.ts diff --git a/packages/jest-core/src/lib/update_global_config.ts b/packages/jest-core/src/lib/updateGlobalConfig.ts similarity index 100% rename from packages/jest-core/src/lib/update_global_config.ts rename to packages/jest-core/src/lib/updateGlobalConfig.ts diff --git a/packages/jest-core/src/lib/watch_plugins_helpers.ts b/packages/jest-core/src/lib/watchPluginsHelpers.ts similarity index 100% rename from packages/jest-core/src/lib/watch_plugins_helpers.ts rename to packages/jest-core/src/lib/watchPluginsHelpers.ts diff --git a/packages/jest-core/src/plugins/quit.ts b/packages/jest-core/src/plugins/Quit.ts similarity index 100% rename from packages/jest-core/src/plugins/quit.ts rename to packages/jest-core/src/plugins/Quit.ts diff --git a/packages/jest-core/src/plugins/test_name_pattern.ts b/packages/jest-core/src/plugins/TestNamePattern.ts similarity index 96% rename from packages/jest-core/src/plugins/test_name_pattern.ts rename to packages/jest-core/src/plugins/TestNamePattern.ts index 64391e1dc18a..34e61f3c30c3 100644 --- a/packages/jest-core/src/plugins/test_name_pattern.ts +++ b/packages/jest-core/src/plugins/TestNamePattern.ts @@ -13,7 +13,7 @@ import { UsageData, } from 'jest-watcher'; import TestNamePatternPrompt from '../TestNamePatternPrompt'; -import activeFilters from '../lib/active_filters_message'; +import activeFilters from '../lib/activeFiltersMessage'; class TestNamePatternPlugin extends BaseWatchPlugin { _prompt: Prompt; diff --git a/packages/jest-core/src/plugins/test_path_pattern.ts b/packages/jest-core/src/plugins/TestPathPattern.ts similarity index 96% rename from packages/jest-core/src/plugins/test_path_pattern.ts rename to packages/jest-core/src/plugins/TestPathPattern.ts index 05b4e3d67c0c..b02b74b62443 100644 --- a/packages/jest-core/src/plugins/test_path_pattern.ts +++ b/packages/jest-core/src/plugins/TestPathPattern.ts @@ -13,7 +13,7 @@ import { UsageData, } from 'jest-watcher'; import TestPathPatternPrompt from '../TestPathPatternPrompt'; -import activeFilters from '../lib/active_filters_message'; +import activeFilters from '../lib/activeFiltersMessage'; class TestPathPatternPlugin extends BaseWatchPlugin { private _prompt: Prompt; diff --git a/packages/jest-core/src/plugins/update_snapshots.ts b/packages/jest-core/src/plugins/UpdateSnapshots.ts similarity index 100% rename from packages/jest-core/src/plugins/update_snapshots.ts rename to packages/jest-core/src/plugins/UpdateSnapshots.ts diff --git a/packages/jest-core/src/plugins/update_snapshots_interactive.ts b/packages/jest-core/src/plugins/UpdateSnapshotsInteractive.ts similarity index 100% rename from packages/jest-core/src/plugins/update_snapshots_interactive.ts rename to packages/jest-core/src/plugins/UpdateSnapshotsInteractive.ts diff --git a/packages/jest-core/src/watch.ts b/packages/jest-core/src/watch.ts index 64d9407fefe6..40e9415d029a 100644 --- a/packages/jest-core/src/watch.ts +++ b/packages/jest-core/src/watch.ts @@ -25,23 +25,23 @@ import { WatchPluginClass, } from 'jest-watcher'; import getChangedFilesPromise from './getChangedFilesPromise'; -import isValidPath from './lib/is_valid_path'; -import createContext from './lib/create_context'; +import isValidPath from './lib/isValidPath'; +import createContext from './lib/createContext'; import runJest from './runJest'; -import updateGlobalConfig from './lib/update_global_config'; +import updateGlobalConfig from './lib/updateGlobalConfig'; import SearchSource from './SearchSource'; import TestWatcher from './TestWatcher'; import FailedTestsCache from './FailedTestsCache'; -import TestPathPatternPlugin from './plugins/test_path_pattern'; -import TestNamePatternPlugin from './plugins/test_name_pattern'; -import UpdateSnapshotsPlugin from './plugins/update_snapshots'; -import UpdateSnapshotsInteractivePlugin from './plugins/update_snapshots_interactive'; -import QuitPlugin from './plugins/quit'; +import TestPathPatternPlugin from './plugins/TestPathPattern'; +import TestNamePatternPlugin from './plugins/TestNamePattern'; +import UpdateSnapshotsPlugin from './plugins/UpdateSnapshots'; +import UpdateSnapshotsInteractivePlugin from './plugins/UpdateSnapshotsInteractive'; +import QuitPlugin from './plugins/Quit'; import { filterInteractivePlugins, getSortedUsageRows, -} from './lib/watch_plugins_helpers'; -import activeFilters from './lib/active_filters_message'; +} from './lib/watchPluginsHelpers'; +import activeFilters from './lib/activeFiltersMessage'; import type {Filter} from './types'; type ReservedInfo = { From bbe1793fb05dc4b1213ea62d88711f906b02aaaa Mon Sep 17 00:00:00 2001 From: Nitin Kumar Date: Sun, 25 Oct 2020 19:21:00 +0530 Subject: [PATCH 2/3] fix: lint --- packages/jest-core/src/__tests__/watch.test.js | 3 +-- packages/jest-core/src/plugins/UpdateSnapshotsInteractive.ts | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/packages/jest-core/src/__tests__/watch.test.js b/packages/jest-core/src/__tests__/watch.test.js index 1dd256a73a93..732c390d91d6 100644 --- a/packages/jest-core/src/__tests__/watch.test.js +++ b/packages/jest-core/src/__tests__/watch.test.js @@ -84,8 +84,7 @@ jest.doMock( {virtual: true}, ); -const regularUpdateGlobalConfig = require('../lib/updateGlobalConfig') - .default; +const regularUpdateGlobalConfig = require('../lib/updateGlobalConfig').default; const updateGlobalConfig = jest.fn(regularUpdateGlobalConfig); jest.doMock('../lib/updateGlobalConfig', () => updateGlobalConfig); diff --git a/packages/jest-core/src/plugins/UpdateSnapshotsInteractive.ts b/packages/jest-core/src/plugins/UpdateSnapshotsInteractive.ts index defb56b49a35..f5c6cfcc037d 100644 --- a/packages/jest-core/src/plugins/UpdateSnapshotsInteractive.ts +++ b/packages/jest-core/src/plugins/UpdateSnapshotsInteractive.ts @@ -5,7 +5,7 @@ * LICENSE file in the root directory of this source tree. */ -/* eslint-disable local/ban-types-eventually */ +/* eslint-disable @typescript-eslint/ban-types */ import type {Config} from '@jest/types'; import type {AggregatedResult, AssertionLocation} from '@jest/test-result'; From 1dfd9de063c942f6556e67124d04f50e5f6498f5 Mon Sep 17 00:00:00 2001 From: Nitin Kumar Date: Sun, 25 Oct 2020 20:07:00 +0530 Subject: [PATCH 3/3] fix: lint --- .eslintrc.js | 2 +- packages/jest-core/src/plugins/UpdateSnapshotsInteractive.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.eslintrc.js b/.eslintrc.js index 259df5b98696..510beea659f3 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -82,7 +82,7 @@ module.exports = { 'packages/jest-core/src/ReporterDispatcher.ts', 'packages/jest-core/src/TestScheduler.ts', 'packages/jest-core/src/collectHandles.ts', - 'packages/jest-core/src/plugins/update_snapshots_interactive.ts', + 'packages/jest-core/src/plugins/UpdateSnapshotsInteractive.ts', 'packages/jest-fake-timers/src/legacyFakeTimers.ts', 'packages/jest-haste-map/src/index.ts', 'packages/jest-haste-map/src/lib/FSEventsWatcher.ts', diff --git a/packages/jest-core/src/plugins/UpdateSnapshotsInteractive.ts b/packages/jest-core/src/plugins/UpdateSnapshotsInteractive.ts index f5c6cfcc037d..defb56b49a35 100644 --- a/packages/jest-core/src/plugins/UpdateSnapshotsInteractive.ts +++ b/packages/jest-core/src/plugins/UpdateSnapshotsInteractive.ts @@ -5,7 +5,7 @@ * LICENSE file in the root directory of this source tree. */ -/* eslint-disable @typescript-eslint/ban-types */ +/* eslint-disable local/ban-types-eventually */ import type {Config} from '@jest/types'; import type {AggregatedResult, AssertionLocation} from '@jest/test-result';