diff --git a/eslint.config.mjs b/eslint.config.mjs index 425c0f00bc61..eaa7b8e87982 100644 --- a/eslint.config.mjs +++ b/eslint.config.mjs @@ -37,6 +37,8 @@ const vitestFiles = [ 'packages/parser/tests/lib/**/*.test.{ts,tsx,cts,mts}', 'packages/parser/tests/test-utils/**/*.{ts,tsx,cts,mts}', 'packages/rule-tester/tests/**/*.test.{ts,tsx,cts,mts}', + 'packages/scope-manager/tests/**/*.test.{ts,tsx,cts,mts}', + 'packages/scope-manager/tests/test-utils/serializers/index.ts', 'packages/type-utils/tests/**/*.test.{ts,tsx,cts,mts}', 'packages/typescript-eslint/tests/**/*.test.{ts,tsx,cts,mts}', 'packages/utils/tests/**/*.test?(-d).{ts,tsx,cts,mts}', diff --git a/knip.ts b/knip.ts index 4f04d3824607..5ea2b5699099 100644 --- a/knip.ts +++ b/knip.ts @@ -22,7 +22,11 @@ export default { workspaces: { '.': { entry: ['tools/release/changelog-renderer.js', 'tools/scripts/**/*.mts'], - ignore: ['tools/scripts/typings/typescript.d.ts', 'typings/*.d.ts'], + ignore: [ + 'jest.config.base.js', + 'tools/scripts/typings/typescript.d.ts', + 'typings/*.d.ts', + ], ignoreDependencies: [ '@babel/code-frame', '@babel/core', @@ -78,6 +82,14 @@ export default { }, 'packages/scope-manager': { ignore: ['tests/fixtures/**'], + + vitest: { + config: ['vitest.config.mts'], + entry: [ + 'tests/**/*.{bench,test,test-d}.?(c|m)ts?(x)', + 'tests/test-utils/serializers/index.ts', + ], + }, }, 'packages/type-utils': { ignore: ['tests/fixtures/**', 'typings/typescript.d.ts'], diff --git a/packages/scope-manager/jest.config.js b/packages/scope-manager/jest.config.js deleted file mode 100644 index 76d213aa524f..000000000000 --- a/packages/scope-manager/jest.config.js +++ /dev/null @@ -1,14 +0,0 @@ -'use strict'; - -// @ts-check - -const baseConfig = require('../../jest.config.base.js'); - -/** @type {import('@jest/types').Config.InitialOptions} */ -module.exports = { - ...baseConfig, - setupFilesAfterEnv: [ - ...baseConfig.setupFilesAfterEnv, - './tests/test-utils/serializers/index.ts', - ], -}; diff --git a/packages/scope-manager/package.json b/packages/scope-manager/package.json index 0b9a04e37021..0bf2d3feff4c 100644 --- a/packages/scope-manager/package.json +++ b/packages/scope-manager/package.json @@ -37,13 +37,13 @@ "estree" ], "scripts": { - "build": "npx nx build", - "clean": "npx nx clean", - "clean-fixtures": "npx nx clean-fixtures", + "build": "tsc -b tsconfig.build.json", + "clean": "rimraf dist/ _ts4.3/ coverage/", + "clean-fixtures": "rimraf -g \"./src/**/fixtures/**/snapshots\"", "format": "prettier --write \"./**/*.{ts,mts,cts,tsx,js,mjs,cjs,jsx,json,md,css}\" --ignore-path ../../.prettierignore", "generate-lib": "npx nx generate-lib repo", "lint": "npx nx lint", - "test": "jest", + "test": "vitest --run --config=$INIT_CWD/vitest.config.mts", "check-types": "npx nx typecheck" }, "dependencies": { @@ -51,15 +51,13 @@ "@typescript-eslint/visitor-keys": "8.29.1" }, "devDependencies": { - "@jest/types": "29.6.3", "@typescript-eslint/typescript-estree": "8.29.1", + "@vitest/coverage-v8": "^3.1.1", "glob": "*", - "jest": "29.7.0", - "jest-specific-snapshot": "*", - "make-dir": "*", "prettier": "^3.2.5", "pretty-format": "*", - "typescript": "*" + "typescript": "*", + "vitest": "^3.1.1" }, "funding": { "type": "opencollective", diff --git a/packages/scope-manager/project.json b/packages/scope-manager/project.json index 07f9dac38d2d..059f34126073 100644 --- a/packages/scope-manager/project.json +++ b/packages/scope-manager/project.json @@ -1,48 +1,16 @@ { "name": "scope-manager", "$schema": "../../node_modules/nx/schemas/project-schema.json", + "root": "packages/scope-manager", "sourceRoot": "packages/scope-manager/src", "projectType": "library", - "tags": [], "targets": { - "build": { - "executor": "nx:run-commands", - "outputs": ["{projectRoot}/dist"], - "options": { - "parallel": false, - "cwd": "packages/scope-manager", - "commands": ["tsc -b tsconfig.build.json"] - } - }, - "clean": { - "executor": "nx:run-commands", - "options": { - "parallel": false, - "cwd": "packages/scope-manager", - "commands": [ - "tsc -b tsconfig.build.json --clean", - "rimraf dist", - "rimraf coverage" - ] - } - }, - "clean-fixtures": { - "executor": "nx:run-commands", - "options": { - "parallel": false, - "cwd": "packages/scope-manager", - "commands": ["rimraf -g \"./src/**/fixtures/**/snapshots\""] - } - }, "lint": { "executor": "@nx/eslint:lint", "outputs": ["{options.outputFile}"] }, "test": { - "executor": "@nx/jest:jest", - "options": { - "jestConfig": "packages/scope-manager/jest.config.js" - } + "executor": "@nx/vite:test" } } } diff --git a/packages/scope-manager/tests/eslint-scope/class-fields.test.ts b/packages/scope-manager/tests/eslint-scope/class-fields.test.ts index b806947a5d81..bbf6a5b82f51 100644 --- a/packages/scope-manager/tests/eslint-scope/class-fields.test.ts +++ b/packages/scope-manager/tests/eslint-scope/class-fields.test.ts @@ -39,7 +39,7 @@ describe('Class fields', () => { expect(classFieldInitializerScope.variables).toHaveLength(0); }); - describe('class C { f }', () => { + it('class C { f }', () => { const { scopeManager } = parseAndAnalyze('class C { f }'); const globalScope = scopeManager.scopes[0]; @@ -57,7 +57,7 @@ describe('Class fields', () => { expect(classScope.variables[0].name).toBe('C'); }); - describe('class C { [fname] }', () => { + it('class C { [fname] }', () => { const { scopeManager } = parseAndAnalyze('class C { [fname] }'); const globalScope = scopeManager.scopes[0]; @@ -72,7 +72,7 @@ describe('Class fields', () => { expect(classScope.childScopes).toHaveLength(0); }); - describe('class C { [fname] = value }', () => { + it('class C { [fname] = value }', () => { const { scopeManager } = parseAndAnalyze('class C { [fname] = value }'); const globalScope = scopeManager.scopes[0]; diff --git a/packages/scope-manager/tests/eslint-scope/es6-default-parameters.test.ts b/packages/scope-manager/tests/eslint-scope/es6-default-parameters.test.ts index 36471cd4bb73..7783145110d0 100644 --- a/packages/scope-manager/tests/eslint-scope/es6-default-parameters.test.ts +++ b/packages/scope-manager/tests/eslint-scope/es6-default-parameters.test.ts @@ -1,355 +1,379 @@ -import { getRealVariables, parseAndAnalyze } from '../test-utils'; +import { AST_NODE_TYPES } from '@typescript-eslint/types'; -function forEach( - obj: Record, - cb: (name: T) => void, -): void { - Object.keys(obj).forEach(name => { - cb(name as T); - }); -} +import { getRealVariables, parseAndAnalyze } from '../test-utils'; describe('ES6 default parameters:', () => { describe('a default parameter creates a writable reference for its initialization:', () => { - const patterns = { - ArrowExpression: 'let foo = (a, b = 0) => {};', - FunctionDeclaration: 'function foo(a, b = 0) {}', - FunctionExpression: 'let foo = function(a, b = 0) {};', - }; + const patterns = [ + [AST_NODE_TYPES.ArrowFunctionExpression, 'let foo = (a, b = 0) => {};'], + [AST_NODE_TYPES.FunctionDeclaration, 'function foo(a, b = 0) {}'], + [AST_NODE_TYPES.FunctionExpression, 'let foo = function(a, b = 0) {};'], + ] as const; - forEach(patterns, name => { - const code = patterns[name]; + it.for(patterns)('%s', ([name, code], { expect }) => { + const numVars = name === AST_NODE_TYPES.ArrowFunctionExpression ? 2 : 3; + const { scopeManager } = parseAndAnalyze(code); - it(name, () => { - const numVars = name === 'ArrowExpression' ? 2 : 3; - const { scopeManager } = parseAndAnalyze(code); + expect(scopeManager.scopes).toHaveLength(2); // [global, foo] - expect(scopeManager.scopes).toHaveLength(2); // [global, foo] + const scope = scopeManager.scopes[1]; + const variables = getRealVariables(scope.variables); - const scope = scopeManager.scopes[1]; - const variables = getRealVariables(scope.variables); + expect(variables).toHaveLength(numVars); // [arguments?, a, b] + expect(scope.references).toHaveLength(1); - expect(variables).toHaveLength(numVars); // [arguments?, a, b] - expect(scope.references).toHaveLength(1); + const reference = scope.references[0]; - const reference = scope.references[0]; - - expect(reference.from).toBe(scope); - expect(reference.identifier.name).toBe('b'); - expect(reference.resolved).toBe(variables[numVars - 1]); - expect(reference.writeExpr).toBeDefined(); - expect(reference.isWrite()).toBeTruthy(); - expect(reference.isRead()).toBeFalsy(); - }); + expect(reference.from).toBe(scope); + expect(reference.identifier.name).toBe('b'); + expect(reference.resolved).toBe(variables[numVars - 1]); + expect(reference.writeExpr).toBeDefined(); + expect(reference.isWrite()).toBeTruthy(); + expect(reference.isRead()).toBeFalsy(); }); }); describe('a default parameter creates a readable reference for references in right:', () => { - const patterns = { - ArrowExpression: ` + const patterns = [ + [ + AST_NODE_TYPES.ArrowFunctionExpression, + ` let a; let foo = (b = a) => {}; `, - FunctionDeclaration: ` + ], + [ + AST_NODE_TYPES.FunctionDeclaration, + ` let a; function foo(b = a) {} `, - FunctionExpression: ` + ], + [ + AST_NODE_TYPES.FunctionExpression, + ` let a; let foo = function(b = a) {} `, - }; - - forEach(patterns, name => { - const code = patterns[name]; + ], + ] as const; - it(name, () => { - const numVars = name === 'ArrowExpression' ? 1 : 2; - const { scopeManager } = parseAndAnalyze(code); + it.for(patterns)('%s', ([name, code], { expect }) => { + const numVars = name === AST_NODE_TYPES.ArrowFunctionExpression ? 1 : 2; + const { scopeManager } = parseAndAnalyze(code); - expect(scopeManager.scopes).toHaveLength(2); // [global, foo] + expect(scopeManager.scopes).toHaveLength(2); // [global, foo] - const scope = scopeManager.scopes[1]; - const variables = getRealVariables(scope.variables); + const scope = scopeManager.scopes[1]; + const variables = getRealVariables(scope.variables); - expect(variables).toHaveLength(numVars); // [arguments?, b] - expect(scope.references).toHaveLength(2); // [b, a] + expect(variables).toHaveLength(numVars); // [arguments?, b] + expect(scope.references).toHaveLength(2); // [b, a] - const reference = scope.references[1]; + const reference = scope.references[1]; - expect(reference.from).toBe(scope); - expect(reference.identifier.name).toBe('a'); - expect(reference.resolved).toBe( - getRealVariables(scopeManager.scopes[0].variables)[0], - ); - expect(reference.writeExpr).toBeUndefined(); - expect(reference.isWrite()).toBeFalsy(); - expect(reference.isRead()).toBeTruthy(); - }); + expect(reference.from).toBe(scope); + expect(reference.identifier.name).toBe('a'); + expect(reference.resolved).toBe( + getRealVariables(scopeManager.scopes[0].variables)[0], + ); + expect(reference.writeExpr).toBeUndefined(); + expect(reference.isWrite()).toBeFalsy(); + expect(reference.isRead()).toBeTruthy(); }); }); describe('a default parameter creates a readable reference for references in right (for const):', () => { - const patterns = { - ArrowExpression: ` + const patterns = [ + [ + AST_NODE_TYPES.ArrowFunctionExpression, + ` const a = 0; let foo = (b = a) => {}; `, - FunctionDeclaration: ` + ], + [ + AST_NODE_TYPES.FunctionDeclaration, + ` const a = 0; function foo(b = a) {} `, - FunctionExpression: ` + ], + [ + AST_NODE_TYPES.FunctionExpression, + ` const a = 0; let foo = function(b = a) {} `, - }; - - forEach(patterns, name => { - const code = patterns[name]; + ], + ] as const; - it(name, () => { - const numVars = name === 'ArrowExpression' ? 1 : 2; - const { scopeManager } = parseAndAnalyze(code); + it.for(patterns)('%s', ([name, code], { expect }) => { + const numVars = name === AST_NODE_TYPES.ArrowFunctionExpression ? 1 : 2; + const { scopeManager } = parseAndAnalyze(code); - expect(scopeManager.scopes).toHaveLength(2); // [global, foo] + expect(scopeManager.scopes).toHaveLength(2); // [global, foo] - const scope = scopeManager.scopes[1]; - const variables = getRealVariables(scope.variables); + const scope = scopeManager.scopes[1]; + const variables = getRealVariables(scope.variables); - expect(variables).toHaveLength(numVars); // [arguments?, b] - expect(scope.references).toHaveLength(2); // [b, a] + expect(variables).toHaveLength(numVars); // [arguments?, b] + expect(scope.references).toHaveLength(2); // [b, a] - const reference = scope.references[1]; + const reference = scope.references[1]; - expect(reference.from).toBe(scope); - expect(reference.identifier.name).toBe('a'); - expect(reference.resolved).toBe( - getRealVariables(scopeManager.scopes[0].variables)[0], - ); - expect(reference.writeExpr).toBeUndefined(); - expect(reference.isWrite()).toBeFalsy(); - expect(reference.isRead()).toBeTruthy(); - }); + expect(reference.from).toBe(scope); + expect(reference.identifier.name).toBe('a'); + expect(reference.resolved).toBe( + getRealVariables(scopeManager.scopes[0].variables)[0], + ); + expect(reference.writeExpr).toBeUndefined(); + expect(reference.isWrite()).toBeFalsy(); + expect(reference.isRead()).toBeTruthy(); }); }); describe('a default parameter creates a readable reference for references in right (partial):', () => { - const patterns = { - ArrowExpression: ` + const patterns = [ + [ + AST_NODE_TYPES.ArrowFunctionExpression, + ` let a; let foo = (b = a.c) => {}; `, - FunctionDeclaration: ` + ], + [ + AST_NODE_TYPES.FunctionDeclaration, + ` let a; function foo(b = a.c) {} `, - FunctionExpression: ` + ], + [ + AST_NODE_TYPES.FunctionExpression, + ` let a; let foo = function(b = a.c) {} `, - }; + ], + ] as const; - forEach(patterns, name => { - const code = patterns[name]; + it.for(patterns)('%s', ([name, code], { expect }) => { + const numVars = name === AST_NODE_TYPES.ArrowFunctionExpression ? 1 : 2; + const { scopeManager } = parseAndAnalyze(code); - it(name, () => { - const numVars = name === 'ArrowExpression' ? 1 : 2; - const { scopeManager } = parseAndAnalyze(code); + expect(scopeManager.scopes).toHaveLength(2); // [global, foo] - expect(scopeManager.scopes).toHaveLength(2); // [global, foo] + const scope = scopeManager.scopes[1]; + const variables = getRealVariables(scope.variables); - const scope = scopeManager.scopes[1]; - const variables = getRealVariables(scope.variables); + expect(variables).toHaveLength(numVars); // [arguments?, b] + expect(scope.references).toHaveLength(2); // [b, a] - expect(variables).toHaveLength(numVars); // [arguments?, b] - expect(scope.references).toHaveLength(2); // [b, a] + const reference = scope.references[1]; - const reference = scope.references[1]; - - expect(reference.from).toBe(scope); - expect(reference.identifier.name).toBe('a'); - expect(reference.resolved).toBe( - getRealVariables(scopeManager.scopes[0].variables)[0], - ); - expect(reference.writeExpr).toBeUndefined(); - expect(reference.isWrite()).toBeFalsy(); - expect(reference.isRead()).toBeTruthy(); - }); + expect(reference.from).toBe(scope); + expect(reference.identifier.name).toBe('a'); + expect(reference.resolved).toBe( + getRealVariables(scopeManager.scopes[0].variables)[0], + ); + expect(reference.writeExpr).toBeUndefined(); + expect(reference.isWrite()).toBeFalsy(); + expect(reference.isRead()).toBeTruthy(); }); }); describe("a default parameter creates a readable reference for references in right's nested scope:", () => { - const patterns = { - ArrowExpression: ` + const patterns = [ + [ + AST_NODE_TYPES.ArrowFunctionExpression, + ` let a; let foo = (b = function() { return a; }) => {}; `, - FunctionDeclaration: ` + ], + [ + AST_NODE_TYPES.FunctionDeclaration, + ` let a; function foo(b = function() { return a; }) {} `, - FunctionExpression: ` + ], + [ + AST_NODE_TYPES.FunctionExpression, + ` let a; let foo = function(b = function() { return a; }) {} `, - }; - - forEach(patterns, name => { - const code = patterns[name]; + ], + ] as const; - it(name, () => { - const { scopeManager } = parseAndAnalyze(code); + it.for(patterns)('%s', ([, code], { expect }) => { + const { scopeManager } = parseAndAnalyze(code); - expect(scopeManager.scopes).toHaveLength(3); // [global, foo, anonymous] + expect(scopeManager.scopes).toHaveLength(3); // [global, foo, anonymous] - const scope = scopeManager.scopes[2]; - const variables = getRealVariables(scope.variables); + const scope = scopeManager.scopes[2]; + const variables = getRealVariables(scope.variables); - expect(variables).toHaveLength(1); // [arguments] - expect(scope.references).toHaveLength(1); // [a] + expect(variables).toHaveLength(1); // [arguments] + expect(scope.references).toHaveLength(1); // [a] - const reference = scope.references[0]; + const reference = scope.references[0]; - expect(reference.from).toBe(scope); - expect(reference.identifier.name).toBe('a'); - expect(reference.resolved).toBe( - getRealVariables(scopeManager.scopes[0].variables)[0], - ); - expect(reference.writeExpr).toBeUndefined(); - expect(reference.isWrite()).toBeFalsy(); - expect(reference.isRead()).toBeTruthy(); - }); + expect(reference.from).toBe(scope); + expect(reference.identifier.name).toBe('a'); + expect(reference.resolved).toBe( + getRealVariables(scopeManager.scopes[0].variables)[0], + ); + expect(reference.writeExpr).toBeUndefined(); + expect(reference.isWrite()).toBeFalsy(); + expect(reference.isRead()).toBeTruthy(); }); }); describe("a default parameter creates a readable reference for references in right. It's resolved to outer scope's even if there is the variable in the function body:", () => { - const patterns = { - ArrowExpression: ` + const patterns = [ + [ + AST_NODE_TYPES.ArrowFunctionExpression, + ` let a; let foo = (b = a) => { let a; }; `, - FunctionDeclaration: ` + ], + [ + AST_NODE_TYPES.FunctionDeclaration, + ` let a; function foo(b = a) { let a; } `, - FunctionExpression: ` + ], + [ + AST_NODE_TYPES.FunctionExpression, + ` let a; let foo = function(b = a) { let a; } `, - }; - - forEach(patterns, name => { - const code = patterns[name]; + ], + ] as const; - it(name, () => { - const numVars = name === 'ArrowExpression' ? 2 : 3; - const { scopeManager } = parseAndAnalyze(code); + it.for(patterns)('%s', ([name, code], { expect }) => { + const numVars = name === AST_NODE_TYPES.ArrowFunctionExpression ? 2 : 3; + const { scopeManager } = parseAndAnalyze(code); - expect(scopeManager.scopes).toHaveLength(2); // [global, foo] + expect(scopeManager.scopes).toHaveLength(2); // [global, foo] - const scope = scopeManager.scopes[1]; - const variables = getRealVariables(scope.variables); + const scope = scopeManager.scopes[1]; + const variables = getRealVariables(scope.variables); - expect(variables).toHaveLength(numVars); // [arguments?, b, a] - expect(scope.references).toHaveLength(2); // [b, a] + expect(variables).toHaveLength(numVars); // [arguments?, b, a] + expect(scope.references).toHaveLength(2); // [b, a] - const reference = scope.references[1]; + const reference = scope.references[1]; - expect(reference.from).toBe(scope); - expect(reference.identifier.name).toBe('a'); - expect(reference.resolved).toBe( - getRealVariables(scopeManager.scopes[0].variables)[0], - ); - expect(reference.writeExpr).toBeUndefined(); - expect(reference.isWrite()).toBeFalsy(); - expect(reference.isRead()).toBeTruthy(); - }); + expect(reference.from).toBe(scope); + expect(reference.identifier.name).toBe('a'); + expect(reference.resolved).toBe( + getRealVariables(scopeManager.scopes[0].variables)[0], + ); + expect(reference.writeExpr).toBeUndefined(); + expect(reference.isWrite()).toBeFalsy(); + expect(reference.isRead()).toBeTruthy(); }); }); describe("a default parameter creates a readable reference for references in right. It's resolved to the parameter:", () => { - const patterns = { - ArrowExpression: ` + const patterns = [ + [ + AST_NODE_TYPES.ArrowFunctionExpression, + ` let a; let foo = (b = a, a) => { }; `, - FunctionDeclaration: ` + ], + [ + AST_NODE_TYPES.FunctionDeclaration, + ` let a; function foo(b = a, a) { } `, - FunctionExpression: ` + ], + [ + AST_NODE_TYPES.FunctionExpression, + ` let a; let foo = function(b = a, a) { } `, - }; + ], + ] as const; - forEach(patterns, name => { - const code = patterns[name]; + it.for(patterns)('%s', ([name, code], { expect }) => { + const numVars = name === AST_NODE_TYPES.ArrowFunctionExpression ? 2 : 3; + const { scopeManager } = parseAndAnalyze(code); - it(name, () => { - const numVars = name === 'ArrowExpression' ? 2 : 3; - const { scopeManager } = parseAndAnalyze(code); + expect(scopeManager.scopes).toHaveLength(2); // [global, foo] - expect(scopeManager.scopes).toHaveLength(2); // [global, foo] + const scope = scopeManager.scopes[1]; + const variables = getRealVariables(scope.variables); - const scope = scopeManager.scopes[1]; - const variables = getRealVariables(scope.variables); + expect(variables).toHaveLength(numVars); // [arguments?, b, a] + expect(scope.references).toHaveLength(2); // [b, a] - expect(variables).toHaveLength(numVars); // [arguments?, b, a] - expect(scope.references).toHaveLength(2); // [b, a] + const reference = scope.references[1]; - const reference = scope.references[1]; - - expect(reference.from).toBe(scope); - expect(reference.identifier.name).toBe('a'); - expect(reference.resolved).toBe(variables[variables.length - 1]); - expect(reference.writeExpr).toBeUndefined(); - expect(reference.isWrite()).toBeFalsy(); - expect(reference.isRead()).toBeTruthy(); - }); + expect(reference.from).toBe(scope); + expect(reference.identifier.name).toBe('a'); + expect(reference.resolved).toBe(variables[variables.length - 1]); + expect(reference.writeExpr).toBeUndefined(); + expect(reference.isWrite()).toBeFalsy(); + expect(reference.isRead()).toBeTruthy(); }); }); describe("a default parameter creates a readable reference for references in right (nested scope). It's resolved to outer scope's even if there is the variable in the function body:", () => { - const patterns = { - ArrowExpression: ` + const patterns = [ + [ + AST_NODE_TYPES.ArrowFunctionExpression, + ` let a; let foo = (b = function(){ a }) => { let a; }; `, - FunctionDeclaration: ` + ], + [ + AST_NODE_TYPES.FunctionDeclaration, + ` let a; function foo(b = function(){ a }) { let a; } `, - FunctionExpression: ` + ], + [ + AST_NODE_TYPES.FunctionExpression, + ` let a; let foo = function(b = function(){ a }) { let a; } `, - }; - - forEach(patterns, name => { - const code = patterns[name]; + ], + ] as const; - it(name, () => { - const { scopeManager } = parseAndAnalyze(code); + it.for(patterns)('%s', ([, code], { expect }) => { + const { scopeManager } = parseAndAnalyze(code); - expect(scopeManager.scopes).toHaveLength(3); // [global, foo, anonymous function] + expect(scopeManager.scopes).toHaveLength(3); // [global, foo, anonymous function] - const scope = scopeManager.scopes[2]; + const scope = scopeManager.scopes[2]; - expect(scope.references).toHaveLength(1); // [a] + expect(scope.references).toHaveLength(1); // [a] - const reference = scope.references[0]; + const reference = scope.references[0]; - expect(reference.from).toBe(scope); - expect(reference.identifier.name).toBe('a'); - expect(reference.resolved).toBe( - getRealVariables(scopeManager.scopes[0].variables)[0], - ); - expect(reference.writeExpr).toBeUndefined(); - expect(reference.isWrite()).toBeFalsy(); - expect(reference.isRead()).toBeTruthy(); - }); + expect(reference.from).toBe(scope); + expect(reference.identifier.name).toBe('a'); + expect(reference.resolved).toBe( + getRealVariables(scopeManager.scopes[0].variables)[0], + ); + expect(reference.writeExpr).toBeUndefined(); + expect(reference.isWrite()).toBeFalsy(); + expect(reference.isRead()).toBeTruthy(); }); }); }); diff --git a/packages/scope-manager/tests/eslint-scope/references.test.ts b/packages/scope-manager/tests/eslint-scope/references.test.ts index 3b00e3211f6b..3be683b1ebb6 100644 --- a/packages/scope-manager/tests/eslint-scope/references.test.ts +++ b/packages/scope-manager/tests/eslint-scope/references.test.ts @@ -445,10 +445,11 @@ describe('References:', () => { 'new function(a = 0) {}', 'new function([a = 0] = []) {}', 'new function({b: a = 0} = {}) {}', - ]; + ] as const; - trueCodes.forEach(code => - it(`"${code}", all references should be true.`, () => { + it.for(trueCodes)( + '"%s", all references should be true.', + (code, { expect }) => { const { scopeManager } = parseAndAnalyze(code); expect(scopeManager.scopes.length).toBeGreaterThanOrEqual(1); @@ -464,10 +465,10 @@ describe('References:', () => { expect(reference.isWrite()).toBeTruthy(); expect(reference.init).toBeTruthy(); }); - }), + }, ); - let falseCodes = [ + const falseCodes = [ 'let a; a = 0;', 'let a; [a] = [];', 'let a; [a = 1] = [];', @@ -479,10 +480,11 @@ describe('References:', () => { 'let a; for ([a = 0] in []);', 'let a; for ({a} in []);', 'let a; for ({a = 0} in []);', - ]; + ] as const; - falseCodes.forEach(code => - it(`"${code}", all references should be false.`, () => { + it.for(falseCodes)( + '"%s", all references should be false.', + (code, { expect }) => { const { scopeManager } = parseAndAnalyze(code); expect(scopeManager.scopes.length).toBeGreaterThanOrEqual(1); @@ -498,10 +500,10 @@ describe('References:', () => { expect(reference.isWrite()).toBeTruthy(); expect(reference.init).toBeFalsy(); }); - }), + }, ); - falseCodes = [ + it.for([ 'let a; let b = a;', 'let a; let [b] = a;', 'let a; let [b = a] = [];', @@ -516,9 +518,9 @@ describe('References:', () => { 'let a,b; for ([b = a] in []);', 'let a; a.foo = 0;', 'let a,b; b = a.foo;', - ]; - falseCodes.forEach(code => - it(`"${code}", readonly references of "a" should be undefined.`, () => { + ] as const)( + '"%s", readonly references of "a" should be undefined.', + (code, { expect }) => { const { scopeManager } = parseAndAnalyze(code); expect(scopeManager.scopes.length).toBeGreaterThanOrEqual(1); @@ -529,7 +531,7 @@ describe('References:', () => { expect(variables.length).toBeGreaterThanOrEqual(1); expect(variables[0].name).toBe('a'); - const references = variables[0].references; + const { references } = variables[0]; expect(references.length).toBeGreaterThanOrEqual(1); @@ -537,7 +539,7 @@ describe('References:', () => { expect(reference.isRead()).toBeTruthy(); expect(reference.init).toBeUndefined(); }); - }), + }, ); }); }); diff --git a/packages/scope-manager/tests/fixtures.test.ts b/packages/scope-manager/tests/fixtures.test.ts index c1b02ae97d7f..39d2f81a3c2d 100644 --- a/packages/scope-manager/tests/fixtures.test.ts +++ b/packages/scope-manager/tests/fixtures.test.ts @@ -1,6 +1,5 @@ import * as glob from 'glob'; -import makeDir from 'make-dir'; -import fs from 'node:fs'; +import * as fs from 'node:fs/promises'; import path from 'node:path'; import type { AnalyzeOptions } from './test-utils'; @@ -59,137 +58,121 @@ function nestDescribe( nestDescribe(fixture, segments.slice(1)); }); } else { - const test = (): void => { - const contents = fs.readFileSync(fixture.absolute, 'utf8'); - - const lines = contents.split('\n'); - const options: Record = { - lib: [], - }; - - /* - * What's all this!? - * - * To help with configuring individual tests, each test may use a four-slash comment to configure the scope manager - * This is just a rudimentary "parser" for said comments. - */ - for (const line of lines) { - if (!line.startsWith('////')) { - continue; - } + test( + fixture.name, + { only: [...fixture.segments, fixture.name].join(path.sep) === ONLY }, + async () => { + const contents = await fs.readFile(fixture.absolute, { + encoding: 'utf-8', + }); - const match = FOUR_SLASH.exec(line); - if (!match) { - throw new Error(`Four-slash did not match expected format: ${line}`); - } - const [, key, rawValue] = match; - const type = ALLOWED_OPTIONS.get(key); - if (!type) { - throw new Error(`Unknown option ${key}`); - } + const lines = contents.split('\n'); + const options: Record = { + lib: [], + }; + + /* + * What's all this!? + * + * To help with configuring individual tests, each test may use a four-slash comment to configure the scope manager + * This is just a rudimentary "parser" for said comments. + */ + for (const line of lines) { + if (!line.startsWith('////')) { + continue; + } - let value: unknown = rawValue; - switch (type[0]) { - case 'string': { - const strmatch = QUOTED_STRING.exec(rawValue); - if (strmatch) { - value = strmatch[1]; - } - break; + const match = FOUR_SLASH.exec(line); + if (!match) { + throw new Error( + `Four-slash did not match expected format: ${line}`, + ); + } + const [, key, rawValue] = match; + const type = ALLOWED_OPTIONS.get(key); + if (!type) { + throw new Error(`Unknown option ${key}`); } - case 'number': { - const parsed = parseFloat(rawValue); - if (isNaN(parsed)) { - throw new Error( - `Expected a number for ${key}, but got ${rawValue}`, - ); + let value: unknown = rawValue; + switch (type[0]) { + case 'string': { + const strmatch = QUOTED_STRING.exec(rawValue); + if (strmatch) { + value = strmatch[1]; + } + break; + } + + case 'number': { + const parsed = parseFloat(rawValue); + if (isNaN(parsed)) { + throw new Error( + `Expected a number for ${key}, but got ${rawValue}`, + ); + } + value = parsed; + break; } - value = parsed; - break; - } - case 'boolean': { - if (rawValue === 'true') { - value = true; - } else if (rawValue === 'false') { - value = false; - } else { - throw new Error( - `Expected a boolean for ${key}, but got ${rawValue}`, - ); + case 'boolean': { + if (rawValue === 'true') { + value = true; + } else if (rawValue === 'false') { + value = false; + } else { + throw new Error( + `Expected a boolean for ${key}, but got ${rawValue}`, + ); + } + break; } - break; } - } - if (type[1] && !type[1].has(value)) { - throw new Error( - `Expected value for ${key} to be one of (${[...type[1]].join( - ' | ', - )}), but got ${value as string}`, - ); - } + if (type[1] && !type[1].has(value)) { + throw new Error( + `Expected value for ${key} to be one of (${[...type[1]].join( + ' | ', + )}), but got ${value as string}`, + ); + } - if (value === 'true') { - options[key] = true; - } else if (value === 'false') { - options[key] = false; - } else { - options[key] = value; - } - } - - try { - makeDir.sync(fixture.snapshotPath); - } catch ( - // eslint-disable-next-line @typescript-eslint/no-explicit-any - e: any - ) { - if ('code' in e && e.code === 'EEXIST') { - // already exists - ignored - } else { - throw e; + if (value === 'true') { + options[key] = true; + } else if (value === 'false') { + options[key] = false; + } else { + options[key] = value; + } } - } - try { - const { scopeManager } = parseAndAnalyze(contents, options, { - jsx: fixture.ext.endsWith('x'), - }); - expect(scopeManager).toMatchSpecificSnapshot(fixture.snapshotFile); - } catch (e) { - expect(e).toMatchSpecificSnapshot(fixture.snapshotFile); - } - }; + await fs.mkdir(fixture.snapshotPath, { recursive: true }); - if ([...fixture.segments, fixture.name].join(path.sep) === ONLY) { - // eslint-disable-next-line jest/no-focused-tests - it.only(fixture.name, test); - } else { - it(fixture.name, test); - } + try { + const { scopeManager } = parseAndAnalyze(contents, options, { + jsx: fixture.ext.endsWith('x'), + }); + await expect(scopeManager).toMatchFileSnapshot(fixture.snapshotFile); + } catch (e) { + await expect(e).toMatchFileSnapshot(fixture.snapshotFile); + } + }, + ); } } fixtures.forEach(f => nestDescribe(f)); -if (ONLY === '') { - // ensure that the snapshots are cleaned up, because jest-specific-snapshot won't do this check - const snapshots = glob.sync(`${FIXTURES_DIR}/**/*.shot`).map(absolute => { - const relative = path.relative(FIXTURES_DIR, absolute); - const { dir, name } = path.parse(relative); - return { - fixturePath: path.join(FIXTURES_DIR, dir, name), - relative, - }; - }); - - describe('ast snapshots should have an associated test', () => { - for (const snap of snapshots) { - it(snap.relative, () => { - expect(fs.existsSync(snap.fixturePath)).toBeTruthy(); - }); - } - }); -} +describe.runIf(ONLY === '')( + 'ast snapshots should have an associated test', + () => { + const snapshots = glob.sync(`${FIXTURES_DIR}/**/*.shot`).map(absolute => { + const relative = path.relative(FIXTURES_DIR, absolute); + const { dir, name } = path.parse(relative); + return [relative, path.join(FIXTURES_DIR, dir, name)] as const; + }); + it.for(snapshots)('%s', async ([, fixturePath], { expect }) => { + expect((await fs.lstat(fixturePath)).isFile()).toBe(true); + }); + }, +); diff --git a/packages/scope-manager/tests/fixtures/block/inherited-scope.ts.shot b/packages/scope-manager/tests/fixtures/block/inherited-scope.ts.shot index 00efa3624733..39abc849300a 100644 --- a/packages/scope-manager/tests/fixtures/block/inherited-scope.ts.shot +++ b/packages/scope-manager/tests/fixtures/block/inherited-scope.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`block inherited-scope 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -66,5 +63,4 @@ ScopeManager { variables: [], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/block/scope.ts.shot b/packages/scope-manager/tests/fixtures/block/scope.ts.shot index 05a479820ed0..e92de47270dd 100644 --- a/packages/scope-manager/tests/fixtures/block/scope.ts.shot +++ b/packages/scope-manager/tests/fixtures/block/scope.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`block scope 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -102,5 +99,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/call-expression/call-expression.ts.shot b/packages/scope-manager/tests/fixtures/call-expression/call-expression.ts.shot index e0f3c0911d73..07b615f83651 100644 --- a/packages/scope-manager/tests/fixtures/call-expression/call-expression.ts.shot +++ b/packages/scope-manager/tests/fixtures/call-expression/call-expression.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`call-expression call-expression 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -118,5 +115,4 @@ ScopeManager { variables: [], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/call-expression/type-parameters1.ts.shot b/packages/scope-manager/tests/fixtures/call-expression/type-parameters1.ts.shot index ef40a9d096d9..68fb44d85ead 100644 --- a/packages/scope-manager/tests/fixtures/call-expression/type-parameters1.ts.shot +++ b/packages/scope-manager/tests/fixtures/call-expression/type-parameters1.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`call-expression type-parameters1 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -53,5 +50,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/call-expression/type-parameters2.ts.shot b/packages/scope-manager/tests/fixtures/call-expression/type-parameters2.ts.shot index 015dbcef6889..b9e42361307d 100644 --- a/packages/scope-manager/tests/fixtures/call-expression/type-parameters2.ts.shot +++ b/packages/scope-manager/tests/fixtures/call-expression/type-parameters2.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`call-expression type-parameters2 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -63,5 +60,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/catch/inherited-scope.ts.shot b/packages/scope-manager/tests/fixtures/catch/inherited-scope.ts.shot index ef6024741730..8a96bdf53265 100644 --- a/packages/scope-manager/tests/fixtures/catch/inherited-scope.ts.shot +++ b/packages/scope-manager/tests/fixtures/catch/inherited-scope.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`catch inherited-scope 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -100,5 +97,4 @@ ScopeManager { variables: [], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/catch/scope.ts.shot b/packages/scope-manager/tests/fixtures/catch/scope.ts.shot index dcc48d88a73e..4c123c23e2a0 100644 --- a/packages/scope-manager/tests/fixtures/catch/scope.ts.shot +++ b/packages/scope-manager/tests/fixtures/catch/scope.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`catch scope 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -171,5 +168,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/class/declaration/abstract-accessor-property.ts.shot b/packages/scope-manager/tests/fixtures/class/declaration/abstract-accessor-property.ts.shot index c1b7aeff3e57..405566337877 100644 --- a/packages/scope-manager/tests/fixtures/class/declaration/abstract-accessor-property.ts.shot +++ b/packages/scope-manager/tests/fixtures/class/declaration/abstract-accessor-property.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`class declaration abstract-accessor-property 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -84,5 +81,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/class/declaration/abstract-property.ts.shot b/packages/scope-manager/tests/fixtures/class/declaration/abstract-property.ts.shot index 477084bb3bfb..405566337877 100644 --- a/packages/scope-manager/tests/fixtures/class/declaration/abstract-property.ts.shot +++ b/packages/scope-manager/tests/fixtures/class/declaration/abstract-property.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`class declaration abstract-property 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -84,5 +81,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/class/declaration/abstract.ts.shot b/packages/scope-manager/tests/fixtures/class/declaration/abstract.ts.shot index 9d0df30ba07d..26798a1d2fd7 100644 --- a/packages/scope-manager/tests/fixtures/class/declaration/abstract.ts.shot +++ b/packages/scope-manager/tests/fixtures/class/declaration/abstract.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`class declaration abstract 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -107,5 +104,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/class/declaration/accessor-property-type-annotation.ts.shot b/packages/scope-manager/tests/fixtures/class/declaration/accessor-property-type-annotation.ts.shot index 0a1d19090e9c..05e20a74c964 100644 --- a/packages/scope-manager/tests/fixtures/class/declaration/accessor-property-type-annotation.ts.shot +++ b/packages/scope-manager/tests/fixtures/class/declaration/accessor-property-type-annotation.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`class declaration accessor-property-type-annotation 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -84,5 +81,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/class/declaration/accessor-property.ts.shot b/packages/scope-manager/tests/fixtures/class/declaration/accessor-property.ts.shot index c2b674bedfb6..addfe408d772 100644 --- a/packages/scope-manager/tests/fixtures/class/declaration/accessor-property.ts.shot +++ b/packages/scope-manager/tests/fixtures/class/declaration/accessor-property.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`class declaration accessor-property 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -148,5 +145,4 @@ ScopeManager { variables: [], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/class/declaration/computed-member.ts.shot b/packages/scope-manager/tests/fixtures/class/declaration/computed-member.ts.shot index 2ae66d871a8e..6501d13e0995 100644 --- a/packages/scope-manager/tests/fixtures/class/declaration/computed-member.ts.shot +++ b/packages/scope-manager/tests/fixtures/class/declaration/computed-member.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`class declaration computed-member 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -160,5 +157,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/class/declaration/extends-generic.ts.shot b/packages/scope-manager/tests/fixtures/class/declaration/extends-generic.ts.shot index fa02ab682ff6..d63069f5cd85 100644 --- a/packages/scope-manager/tests/fixtures/class/declaration/extends-generic.ts.shot +++ b/packages/scope-manager/tests/fixtures/class/declaration/extends-generic.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`class declaration extends-generic 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -147,5 +144,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/class/declaration/extends.ts.shot b/packages/scope-manager/tests/fixtures/class/declaration/extends.ts.shot index d84c13821dc7..07c9eba6431f 100644 --- a/packages/scope-manager/tests/fixtures/class/declaration/extends.ts.shot +++ b/packages/scope-manager/tests/fixtures/class/declaration/extends.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`class declaration extends 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -109,5 +106,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/class/declaration/generic-ref-extends.ts.shot b/packages/scope-manager/tests/fixtures/class/declaration/generic-ref-extends.ts.shot index 5da629250d63..91112a0249e3 100644 --- a/packages/scope-manager/tests/fixtures/class/declaration/generic-ref-extends.ts.shot +++ b/packages/scope-manager/tests/fixtures/class/declaration/generic-ref-extends.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`class declaration generic-ref-extends 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -92,5 +89,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/class/declaration/generic-ref-implements.ts.shot b/packages/scope-manager/tests/fixtures/class/declaration/generic-ref-implements.ts.shot index d228bcb2a50d..ec1d7e825073 100644 --- a/packages/scope-manager/tests/fixtures/class/declaration/generic-ref-implements.ts.shot +++ b/packages/scope-manager/tests/fixtures/class/declaration/generic-ref-implements.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`class declaration generic-ref-implements 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -92,5 +89,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/class/declaration/generic.ts.shot b/packages/scope-manager/tests/fixtures/class/declaration/generic.ts.shot index f8d7b9c02b91..4ef0d994ad2d 100644 --- a/packages/scope-manager/tests/fixtures/class/declaration/generic.ts.shot +++ b/packages/scope-manager/tests/fixtures/class/declaration/generic.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`class declaration generic 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -96,5 +93,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/class/declaration/implements-generic.ts.shot b/packages/scope-manager/tests/fixtures/class/declaration/implements-generic.ts.shot index 3dcf4c063a41..1d2dcd6c8b6a 100644 --- a/packages/scope-manager/tests/fixtures/class/declaration/implements-generic.ts.shot +++ b/packages/scope-manager/tests/fixtures/class/declaration/implements-generic.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`class declaration implements-generic 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -133,5 +130,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/class/declaration/implements.ts.shot b/packages/scope-manager/tests/fixtures/class/declaration/implements.ts.shot index 0a76dc62608a..39f324d4943d 100644 --- a/packages/scope-manager/tests/fixtures/class/declaration/implements.ts.shot +++ b/packages/scope-manager/tests/fixtures/class/declaration/implements.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`class declaration implements 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -84,5 +81,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/class/declaration/index-signature.ts.shot b/packages/scope-manager/tests/fixtures/class/declaration/index-signature.ts.shot index 52fa3c5480ec..4d1d2aed08a5 100644 --- a/packages/scope-manager/tests/fixtures/class/declaration/index-signature.ts.shot +++ b/packages/scope-manager/tests/fixtures/class/declaration/index-signature.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`class declaration index-signature 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -94,5 +91,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/class/declaration/method-param-default.ts.shot b/packages/scope-manager/tests/fixtures/class/declaration/method-param-default.ts.shot index d7d7d38cb2de..ecbfbc36cef8 100644 --- a/packages/scope-manager/tests/fixtures/class/declaration/method-param-default.ts.shot +++ b/packages/scope-manager/tests/fixtures/class/declaration/method-param-default.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`class declaration method-param-default 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -160,5 +157,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/class/declaration/method.ts.shot b/packages/scope-manager/tests/fixtures/class/declaration/method.ts.shot index db0e77d6aa06..e382868afeda 100644 --- a/packages/scope-manager/tests/fixtures/class/declaration/method.ts.shot +++ b/packages/scope-manager/tests/fixtures/class/declaration/method.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`class declaration method 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -276,5 +273,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/class/declaration/new.ts.shot b/packages/scope-manager/tests/fixtures/class/declaration/new.ts.shot index 541419238a97..3280e1a9809b 100644 --- a/packages/scope-manager/tests/fixtures/class/declaration/new.ts.shot +++ b/packages/scope-manager/tests/fixtures/class/declaration/new.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`class declaration new 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -70,5 +67,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/class/declaration/parameter-properties.ts.shot b/packages/scope-manager/tests/fixtures/class/declaration/parameter-properties.ts.shot index 42a143936639..f49c45b8de23 100644 --- a/packages/scope-manager/tests/fixtures/class/declaration/parameter-properties.ts.shot +++ b/packages/scope-manager/tests/fixtures/class/declaration/parameter-properties.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`class declaration parameter-properties 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -313,5 +310,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/class/declaration/private-identifier.ts.shot b/packages/scope-manager/tests/fixtures/class/declaration/private-identifier.ts.shot index 664ce84870fc..ee80843878b6 100644 --- a/packages/scope-manager/tests/fixtures/class/declaration/private-identifier.ts.shot +++ b/packages/scope-manager/tests/fixtures/class/declaration/private-identifier.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`class declaration private-identifier 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -79,5 +76,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/class/declaration/properties-type-annotation.ts.shot b/packages/scope-manager/tests/fixtures/class/declaration/properties-type-annotation.ts.shot index 4a06091e0ede..05e20a74c964 100644 --- a/packages/scope-manager/tests/fixtures/class/declaration/properties-type-annotation.ts.shot +++ b/packages/scope-manager/tests/fixtures/class/declaration/properties-type-annotation.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`class declaration properties-type-annotation 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -84,5 +81,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/class/declaration/properties.ts.shot b/packages/scope-manager/tests/fixtures/class/declaration/properties.ts.shot index 1f3a9ada0462..addfe408d772 100644 --- a/packages/scope-manager/tests/fixtures/class/declaration/properties.ts.shot +++ b/packages/scope-manager/tests/fixtures/class/declaration/properties.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`class declaration properties 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -148,5 +145,4 @@ ScopeManager { variables: [], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/class/declaration/static-block.ts.shot b/packages/scope-manager/tests/fixtures/class/declaration/static-block.ts.shot index d95afb639209..333f5389d568 100644 --- a/packages/scope-manager/tests/fixtures/class/declaration/static-block.ts.shot +++ b/packages/scope-manager/tests/fixtures/class/declaration/static-block.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`class declaration static-block 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -68,5 +65,4 @@ ScopeManager { variables: [], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/class/declaration/static-external-ref.ts.shot b/packages/scope-manager/tests/fixtures/class/declaration/static-external-ref.ts.shot index 9c01872dd3f8..d6cfbec99474 100644 --- a/packages/scope-manager/tests/fixtures/class/declaration/static-external-ref.ts.shot +++ b/packages/scope-manager/tests/fixtures/class/declaration/static-external-ref.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`class declaration static-external-ref 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -113,5 +110,4 @@ ScopeManager { variables: [], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/class/declaration/static-with-constructor.ts.shot b/packages/scope-manager/tests/fixtures/class/declaration/static-with-constructor.ts.shot index d9edbafed679..5d3650cafe05 100644 --- a/packages/scope-manager/tests/fixtures/class/declaration/static-with-constructor.ts.shot +++ b/packages/scope-manager/tests/fixtures/class/declaration/static-with-constructor.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`class declaration static-with-constructor 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -133,5 +130,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/class/declaration/type-reference.ts.shot b/packages/scope-manager/tests/fixtures/class/declaration/type-reference.ts.shot index b005b8b02aad..e97eb2c8ff1d 100644 --- a/packages/scope-manager/tests/fixtures/class/declaration/type-reference.ts.shot +++ b/packages/scope-manager/tests/fixtures/class/declaration/type-reference.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`class declaration type-reference 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -142,5 +139,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/class/expression/computed-member.ts.shot b/packages/scope-manager/tests/fixtures/class/expression/computed-member.ts.shot index 51a34859b278..dcf9fb3805b1 100644 --- a/packages/scope-manager/tests/fixtures/class/expression/computed-member.ts.shot +++ b/packages/scope-manager/tests/fixtures/class/expression/computed-member.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`class expression computed-member 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -156,5 +153,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/class/expression/extends.ts.shot b/packages/scope-manager/tests/fixtures/class/expression/extends.ts.shot index 10cea48dadfd..ce522f2d608a 100644 --- a/packages/scope-manager/tests/fixtures/class/expression/extends.ts.shot +++ b/packages/scope-manager/tests/fixtures/class/expression/extends.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`class expression extends 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -106,5 +103,4 @@ ScopeManager { variables: [], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/class/expression/method.ts.shot b/packages/scope-manager/tests/fixtures/class/expression/method.ts.shot index 38e9f8efdfed..c93829220487 100644 --- a/packages/scope-manager/tests/fixtures/class/expression/method.ts.shot +++ b/packages/scope-manager/tests/fixtures/class/expression/method.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`class expression method 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -272,5 +269,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/class/expression/new.ts.shot b/packages/scope-manager/tests/fixtures/class/expression/new.ts.shot index 42bca5fa5253..119496e84b13 100644 --- a/packages/scope-manager/tests/fixtures/class/expression/new.ts.shot +++ b/packages/scope-manager/tests/fixtures/class/expression/new.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`class expression new 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -65,5 +62,4 @@ ScopeManager { variables: [], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/class/expression/parameter-properties.ts.shot b/packages/scope-manager/tests/fixtures/class/expression/parameter-properties.ts.shot index 5014e75c9c54..e4a8e057b8c9 100644 --- a/packages/scope-manager/tests/fixtures/class/expression/parameter-properties.ts.shot +++ b/packages/scope-manager/tests/fixtures/class/expression/parameter-properties.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`class expression parameter-properties 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -309,5 +306,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/class/expression/private-identifier.ts.shot b/packages/scope-manager/tests/fixtures/class/expression/private-identifier.ts.shot index 24139d5331ca..01773fd9451d 100644 --- a/packages/scope-manager/tests/fixtures/class/expression/private-identifier.ts.shot +++ b/packages/scope-manager/tests/fixtures/class/expression/private-identifier.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`class expression private-identifier 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -76,5 +73,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/class/expression/properties.ts.shot b/packages/scope-manager/tests/fixtures/class/expression/properties.ts.shot index 632c5c94dcfd..6793e4936178 100644 --- a/packages/scope-manager/tests/fixtures/class/expression/properties.ts.shot +++ b/packages/scope-manager/tests/fixtures/class/expression/properties.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`class expression properties 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -144,5 +141,4 @@ ScopeManager { variables: [], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/class/expression/self-reference-super.ts.shot b/packages/scope-manager/tests/fixtures/class/expression/self-reference-super.ts.shot index a5378d83ea92..797875e9f985 100644 --- a/packages/scope-manager/tests/fixtures/class/expression/self-reference-super.ts.shot +++ b/packages/scope-manager/tests/fixtures/class/expression/self-reference-super.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`class expression self-reference-super 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -83,5 +80,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/decorators/accessor.ts.shot b/packages/scope-manager/tests/fixtures/decorators/accessor.ts.shot index 9d315fef25cd..9270b121fd47 100644 --- a/packages/scope-manager/tests/fixtures/decorators/accessor.ts.shot +++ b/packages/scope-manager/tests/fixtures/decorators/accessor.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`decorators accessor 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -167,5 +164,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/decorators/class-deco-with-object-param.ts.shot b/packages/scope-manager/tests/fixtures/decorators/class-deco-with-object-param.ts.shot index 0a8287df0044..701120a214c5 100644 --- a/packages/scope-manager/tests/fixtures/decorators/class-deco-with-object-param.ts.shot +++ b/packages/scope-manager/tests/fixtures/decorators/class-deco-with-object-param.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`decorators class-deco-with-object-param 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -143,5 +140,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/decorators/class-property.ts.shot b/packages/scope-manager/tests/fixtures/decorators/class-property.ts.shot index 6ed5fa1ed1dc..614d53159a47 100644 --- a/packages/scope-manager/tests/fixtures/decorators/class-property.ts.shot +++ b/packages/scope-manager/tests/fixtures/decorators/class-property.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`decorators class-property 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -104,5 +101,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/decorators/class.ts.shot b/packages/scope-manager/tests/fixtures/decorators/class.ts.shot index 9bacf8199203..58dcaef3e27d 100644 --- a/packages/scope-manager/tests/fixtures/decorators/class.ts.shot +++ b/packages/scope-manager/tests/fixtures/decorators/class.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`decorators class 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -104,5 +101,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/decorators/method.ts.shot b/packages/scope-manager/tests/fixtures/decorators/method.ts.shot index 2472c21a268d..f145c19b43a4 100644 --- a/packages/scope-manager/tests/fixtures/decorators/method.ts.shot +++ b/packages/scope-manager/tests/fixtures/decorators/method.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`decorators method 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -124,5 +121,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/decorators/parameter-property.ts.shot b/packages/scope-manager/tests/fixtures/decorators/parameter-property.ts.shot index c819741a89d2..02f927169a1c 100644 --- a/packages/scope-manager/tests/fixtures/decorators/parameter-property.ts.shot +++ b/packages/scope-manager/tests/fixtures/decorators/parameter-property.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`decorators parameter-property 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -174,5 +171,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/decorators/parameter.ts.shot b/packages/scope-manager/tests/fixtures/decorators/parameter.ts.shot index 67c22a93dd4a..7120efc8c1f5 100644 --- a/packages/scope-manager/tests/fixtures/decorators/parameter.ts.shot +++ b/packages/scope-manager/tests/fixtures/decorators/parameter.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`decorators parameter 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -255,5 +252,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/decorators/typeof-this.ts.shot b/packages/scope-manager/tests/fixtures/decorators/typeof-this.ts.shot index a01faae2291a..0e602d645f0a 100644 --- a/packages/scope-manager/tests/fixtures/decorators/typeof-this.ts.shot +++ b/packages/scope-manager/tests/fixtures/decorators/typeof-this.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`decorators typeof-this 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -138,5 +135,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/destructuring/array-assignment.ts.shot b/packages/scope-manager/tests/fixtures/destructuring/array-assignment.ts.shot index 72769c897dce..c8a41a6e47c9 100644 --- a/packages/scope-manager/tests/fixtures/destructuring/array-assignment.ts.shot +++ b/packages/scope-manager/tests/fixtures/destructuring/array-assignment.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`destructuring array-assignment 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -108,5 +105,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/destructuring/array.ts.shot b/packages/scope-manager/tests/fixtures/destructuring/array.ts.shot index 1a96e3fb206a..fb2a600de15b 100644 --- a/packages/scope-manager/tests/fixtures/destructuring/array.ts.shot +++ b/packages/scope-manager/tests/fixtures/destructuring/array.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`destructuring array 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -233,5 +230,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/destructuring/object-assignment.ts.shot b/packages/scope-manager/tests/fixtures/destructuring/object-assignment.ts.shot index 66c69862db94..e2a69e59a808 100644 --- a/packages/scope-manager/tests/fixtures/destructuring/object-assignment.ts.shot +++ b/packages/scope-manager/tests/fixtures/destructuring/object-assignment.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`destructuring object-assignment 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -84,5 +81,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/destructuring/object.ts.shot b/packages/scope-manager/tests/fixtures/destructuring/object.ts.shot index 26d48c55dd0e..ef6e2a734cf7 100644 --- a/packages/scope-manager/tests/fixtures/destructuring/object.ts.shot +++ b/packages/scope-manager/tests/fixtures/destructuring/object.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`destructuring object 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -211,5 +208,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/export/all.ts.shot b/packages/scope-manager/tests/fixtures/export/all.ts.shot index 8c30b08878ec..3bfca056fb37 100644 --- a/packages/scope-manager/tests/fixtures/export/all.ts.shot +++ b/packages/scope-manager/tests/fixtures/export/all.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`export all 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -29,5 +26,4 @@ ScopeManager { variables: [], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/export/default-type.ts.shot b/packages/scope-manager/tests/fixtures/export/default-type.ts.shot index 68665d463d31..e38313ea9a83 100644 --- a/packages/scope-manager/tests/fixtures/export/default-type.ts.shot +++ b/packages/scope-manager/tests/fixtures/export/default-type.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`export default-type 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -71,5 +68,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/export/default1.ts.shot b/packages/scope-manager/tests/fixtures/export/default1.ts.shot index a37533f617b4..767fb26e8514 100644 --- a/packages/scope-manager/tests/fixtures/export/default1.ts.shot +++ b/packages/scope-manager/tests/fixtures/export/default1.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`export default1 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -65,5 +62,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/export/default2.ts.shot b/packages/scope-manager/tests/fixtures/export/default2.ts.shot index 295547d644f6..dc33e73384f1 100644 --- a/packages/scope-manager/tests/fixtures/export/default2.ts.shot +++ b/packages/scope-manager/tests/fixtures/export/default2.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`export default2 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -67,5 +64,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/export/default3.ts.shot b/packages/scope-manager/tests/fixtures/export/default3.ts.shot index c38a8a52e959..3bfca056fb37 100644 --- a/packages/scope-manager/tests/fixtures/export/default3.ts.shot +++ b/packages/scope-manager/tests/fixtures/export/default3.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`export default3 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -29,5 +26,4 @@ ScopeManager { variables: [], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/export/default4.ts.shot b/packages/scope-manager/tests/fixtures/export/default4.ts.shot index dab11ba0ed95..4def2bc735e3 100644 --- a/packages/scope-manager/tests/fixtures/export/default4.ts.shot +++ b/packages/scope-manager/tests/fixtures/export/default4.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`export default4 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -49,5 +46,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/export/equals1.ts.shot b/packages/scope-manager/tests/fixtures/export/equals1.ts.shot index a4afe31abc8c..1c54d424e6ba 100644 --- a/packages/scope-manager/tests/fixtures/export/equals1.ts.shot +++ b/packages/scope-manager/tests/fixtures/export/equals1.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`export equals1 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -67,5 +64,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/export/equals2.ts.shot b/packages/scope-manager/tests/fixtures/export/equals2.ts.shot index a9ce0141fa68..3bfca056fb37 100644 --- a/packages/scope-manager/tests/fixtures/export/equals2.ts.shot +++ b/packages/scope-manager/tests/fixtures/export/equals2.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`export equals2 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -29,5 +26,4 @@ ScopeManager { variables: [], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/export/equals3-type.ts.shot b/packages/scope-manager/tests/fixtures/export/equals3-type.ts.shot index 49ebdfb950af..1f8b3d950535 100644 --- a/packages/scope-manager/tests/fixtures/export/equals3-type.ts.shot +++ b/packages/scope-manager/tests/fixtures/export/equals3-type.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`export equals3-type 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -45,5 +42,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/export/equals4-type.ts.shot b/packages/scope-manager/tests/fixtures/export/equals4-type.ts.shot index 2741a680fa31..4e9f763e3eb9 100644 --- a/packages/scope-manager/tests/fixtures/export/equals4-type.ts.shot +++ b/packages/scope-manager/tests/fixtures/export/equals4-type.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`export equals4-type 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -45,5 +42,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/export/named-dual.ts.shot b/packages/scope-manager/tests/fixtures/export/named-dual.ts.shot index ffe69f693679..9af5bccb6fdb 100644 --- a/packages/scope-manager/tests/fixtures/export/named-dual.ts.shot +++ b/packages/scope-manager/tests/fixtures/export/named-dual.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`export named-dual 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -60,5 +57,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/export/named-source1.ts.shot b/packages/scope-manager/tests/fixtures/export/named-source1.ts.shot index 3f310ef95578..3bfca056fb37 100644 --- a/packages/scope-manager/tests/fixtures/export/named-source1.ts.shot +++ b/packages/scope-manager/tests/fixtures/export/named-source1.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`export named-source1 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -29,5 +26,4 @@ ScopeManager { variables: [], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/export/named-source2.ts.shot b/packages/scope-manager/tests/fixtures/export/named-source2.ts.shot index f1d6e4ce4208..3bfca056fb37 100644 --- a/packages/scope-manager/tests/fixtures/export/named-source2.ts.shot +++ b/packages/scope-manager/tests/fixtures/export/named-source2.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`export named-source2 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -29,5 +26,4 @@ ScopeManager { variables: [], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/export/named-type1.ts.shot b/packages/scope-manager/tests/fixtures/export/named-type1.ts.shot index 8840b0debf0e..2dd241077e1a 100644 --- a/packages/scope-manager/tests/fixtures/export/named-type1.ts.shot +++ b/packages/scope-manager/tests/fixtures/export/named-type1.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`export named-type1 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -45,5 +42,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/export/named1.ts.shot b/packages/scope-manager/tests/fixtures/export/named1.ts.shot index 6c7c40dc0d01..d7e17f88a5a0 100644 --- a/packages/scope-manager/tests/fixtures/export/named1.ts.shot +++ b/packages/scope-manager/tests/fixtures/export/named1.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`export named1 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -58,5 +55,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/export/named2-type.ts.shot b/packages/scope-manager/tests/fixtures/export/named2-type.ts.shot index 47c32e67efe5..f8d07bdb95af 100644 --- a/packages/scope-manager/tests/fixtures/export/named2-type.ts.shot +++ b/packages/scope-manager/tests/fixtures/export/named2-type.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`export named2-type 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -56,5 +53,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/export/named2.ts.shot b/packages/scope-manager/tests/fixtures/export/named2.ts.shot index bbf2b17d1ab1..dc33e73384f1 100644 --- a/packages/scope-manager/tests/fixtures/export/named2.ts.shot +++ b/packages/scope-manager/tests/fixtures/export/named2.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`export named2 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -67,5 +64,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/export/named3-type.ts.shot b/packages/scope-manager/tests/fixtures/export/named3-type.ts.shot index a1f2e6b9e8b3..e97f1528e70a 100644 --- a/packages/scope-manager/tests/fixtures/export/named3-type.ts.shot +++ b/packages/scope-manager/tests/fixtures/export/named3-type.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`export named3-type 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -56,5 +53,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/export/named3.ts.shot b/packages/scope-manager/tests/fixtures/export/named3.ts.shot index 6a2da56b599d..ec5492cf6955 100644 --- a/packages/scope-manager/tests/fixtures/export/named3.ts.shot +++ b/packages/scope-manager/tests/fixtures/export/named3.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`export named3 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -67,5 +64,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/export/type-inline.ts.shot b/packages/scope-manager/tests/fixtures/export/type-inline.ts.shot index 1f805563bee1..1e2d16e62f47 100644 --- a/packages/scope-manager/tests/fixtures/export/type-inline.ts.shot +++ b/packages/scope-manager/tests/fixtures/export/type-inline.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`export type-inline 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -71,5 +68,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/export/type.ts.shot b/packages/scope-manager/tests/fixtures/export/type.ts.shot index c259700bd9d1..1e2d16e62f47 100644 --- a/packages/scope-manager/tests/fixtures/export/type.ts.shot +++ b/packages/scope-manager/tests/fixtures/export/type.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`export type 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -71,5 +68,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/functions/arrow/default-params/readable-ref-body-shadow.ts.shot b/packages/scope-manager/tests/fixtures/functions/arrow/default-params/readable-ref-body-shadow.ts.shot index b58ed429e02d..ef8bced2d847 100644 --- a/packages/scope-manager/tests/fixtures/functions/arrow/default-params/readable-ref-body-shadow.ts.shot +++ b/packages/scope-manager/tests/fixtures/functions/arrow/default-params/readable-ref-body-shadow.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`functions arrow default-params readable-ref-body-shadow 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -123,5 +120,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/functions/arrow/default-params/readable-ref-const.ts.shot b/packages/scope-manager/tests/fixtures/functions/arrow/default-params/readable-ref-const.ts.shot index 22fd6ea9018b..410bc78df822 100644 --- a/packages/scope-manager/tests/fixtures/functions/arrow/default-params/readable-ref-const.ts.shot +++ b/packages/scope-manager/tests/fixtures/functions/arrow/default-params/readable-ref-const.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`functions arrow default-params readable-ref-const 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -120,5 +117,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/functions/arrow/default-params/readable-ref-let.ts.shot b/packages/scope-manager/tests/fixtures/functions/arrow/default-params/readable-ref-let.ts.shot index f09c45de2d5b..912bfcea1b72 100644 --- a/packages/scope-manager/tests/fixtures/functions/arrow/default-params/readable-ref-let.ts.shot +++ b/packages/scope-manager/tests/fixtures/functions/arrow/default-params/readable-ref-let.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`functions arrow default-params readable-ref-let 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -109,5 +106,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/functions/arrow/default-params/readable-ref-nested-body-shadow.ts.shot b/packages/scope-manager/tests/fixtures/functions/arrow/default-params/readable-ref-nested-body-shadow.ts.shot index e02082011f12..c23eb2b354ee 100644 --- a/packages/scope-manager/tests/fixtures/functions/arrow/default-params/readable-ref-nested-body-shadow.ts.shot +++ b/packages/scope-manager/tests/fixtures/functions/arrow/default-params/readable-ref-nested-body-shadow.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`functions arrow default-params readable-ref-nested-body-shadow 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -144,5 +141,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/functions/arrow/default-params/readable-ref-nested.ts.shot b/packages/scope-manager/tests/fixtures/functions/arrow/default-params/readable-ref-nested.ts.shot index 9f3b9d796381..446c369b5e36 100644 --- a/packages/scope-manager/tests/fixtures/functions/arrow/default-params/readable-ref-nested.ts.shot +++ b/packages/scope-manager/tests/fixtures/functions/arrow/default-params/readable-ref-nested.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`functions arrow default-params readable-ref-nested 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -130,5 +127,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/functions/arrow/default-params/readable-ref-param-shadow.ts.shot b/packages/scope-manager/tests/fixtures/functions/arrow/default-params/readable-ref-param-shadow.ts.shot index 2507e6ad2cca..114f18004fc2 100644 --- a/packages/scope-manager/tests/fixtures/functions/arrow/default-params/readable-ref-param-shadow.ts.shot +++ b/packages/scope-manager/tests/fixtures/functions/arrow/default-params/readable-ref-param-shadow.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`functions arrow default-params readable-ref-param-shadow 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -123,5 +120,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/functions/arrow/default-params/readable-ref-partial.ts.shot b/packages/scope-manager/tests/fixtures/functions/arrow/default-params/readable-ref-partial.ts.shot index bd14ef195dba..f129997c16a5 100644 --- a/packages/scope-manager/tests/fixtures/functions/arrow/default-params/readable-ref-partial.ts.shot +++ b/packages/scope-manager/tests/fixtures/functions/arrow/default-params/readable-ref-partial.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`functions arrow default-params readable-ref-partial 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -109,5 +106,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/functions/arrow/default-params/writable-ref.ts.shot b/packages/scope-manager/tests/fixtures/functions/arrow/default-params/writable-ref.ts.shot index b397d30c666c..05ea31e51c91 100644 --- a/packages/scope-manager/tests/fixtures/functions/arrow/default-params/writable-ref.ts.shot +++ b/packages/scope-manager/tests/fixtures/functions/arrow/default-params/writable-ref.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`functions arrow default-params writable-ref 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -99,5 +96,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/functions/arrow/inherited-scope.ts.shot b/packages/scope-manager/tests/fixtures/functions/arrow/inherited-scope.ts.shot index 6e705f39e0e5..953435a0f046 100644 --- a/packages/scope-manager/tests/fixtures/functions/arrow/inherited-scope.ts.shot +++ b/packages/scope-manager/tests/fixtures/functions/arrow/inherited-scope.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`functions arrow inherited-scope 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -66,5 +63,4 @@ ScopeManager { variables: [], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/functions/arrow/no-body.ts.shot b/packages/scope-manager/tests/fixtures/functions/arrow/no-body.ts.shot index 524606c14f5e..04d9179319be 100644 --- a/packages/scope-manager/tests/fixtures/functions/arrow/no-body.ts.shot +++ b/packages/scope-manager/tests/fixtures/functions/arrow/no-body.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`functions arrow no-body 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -56,5 +53,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/functions/arrow/params.ts.shot b/packages/scope-manager/tests/fixtures/functions/arrow/params.ts.shot index 1f210290b549..b1f948f3051b 100644 --- a/packages/scope-manager/tests/fixtures/functions/arrow/params.ts.shot +++ b/packages/scope-manager/tests/fixtures/functions/arrow/params.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`functions arrow params 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -255,5 +252,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/functions/arrow/scope.ts.shot b/packages/scope-manager/tests/fixtures/functions/arrow/scope.ts.shot index 3e93f3c46af6..88642c421c4a 100644 --- a/packages/scope-manager/tests/fixtures/functions/arrow/scope.ts.shot +++ b/packages/scope-manager/tests/fixtures/functions/arrow/scope.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`functions arrow scope 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -154,5 +151,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/functions/arrow/type-parameters/body-reference.ts.shot b/packages/scope-manager/tests/fixtures/functions/arrow/type-parameters/body-reference.ts.shot index 0b904a897230..0526542eecd2 100644 --- a/packages/scope-manager/tests/fixtures/functions/arrow/type-parameters/body-reference.ts.shot +++ b/packages/scope-manager/tests/fixtures/functions/arrow/type-parameters/body-reference.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`functions arrow type-parameters body-reference 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -97,5 +94,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/functions/arrow/type-parameters/param-reference.ts.shot b/packages/scope-manager/tests/fixtures/functions/arrow/type-parameters/param-reference.ts.shot index e3f44362cf7c..94fa3066188e 100644 --- a/packages/scope-manager/tests/fixtures/functions/arrow/type-parameters/param-reference.ts.shot +++ b/packages/scope-manager/tests/fixtures/functions/arrow/type-parameters/param-reference.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`functions arrow type-parameters param-reference 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -97,5 +94,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/functions/arrow/type-parameters/return-value-reference.ts.shot b/packages/scope-manager/tests/fixtures/functions/arrow/type-parameters/return-value-reference.ts.shot index 4e44c4d8ba64..c1dcc78a83f6 100644 --- a/packages/scope-manager/tests/fixtures/functions/arrow/type-parameters/return-value-reference.ts.shot +++ b/packages/scope-manager/tests/fixtures/functions/arrow/type-parameters/return-value-reference.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`functions arrow type-parameters return-value-reference 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -83,5 +80,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/functions/arrow/type-parameters/type-param-reference.ts.shot b/packages/scope-manager/tests/fixtures/functions/arrow/type-parameters/type-param-reference.ts.shot index b5fdd249826a..7ced1ab72b76 100644 --- a/packages/scope-manager/tests/fixtures/functions/arrow/type-parameters/type-param-reference.ts.shot +++ b/packages/scope-manager/tests/fixtures/functions/arrow/type-parameters/type-param-reference.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`functions arrow type-parameters type-param-reference 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -97,5 +94,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/functions/arrow/type-parameters/type-parameter-declaration.ts.shot b/packages/scope-manager/tests/fixtures/functions/arrow/type-parameters/type-parameter-declaration.ts.shot index b0a6a038b096..ecfa511662bd 100644 --- a/packages/scope-manager/tests/fixtures/functions/arrow/type-parameters/type-parameter-declaration.ts.shot +++ b/packages/scope-manager/tests/fixtures/functions/arrow/type-parameters/type-parameter-declaration.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`functions arrow type-parameters type-parameter-declaration 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -94,5 +91,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/functions/arrow/type-predicate-asserts1.ts.shot b/packages/scope-manager/tests/fixtures/functions/arrow/type-predicate-asserts1.ts.shot index 67d352f5eef6..a018a4f10c9e 100644 --- a/packages/scope-manager/tests/fixtures/functions/arrow/type-predicate-asserts1.ts.shot +++ b/packages/scope-manager/tests/fixtures/functions/arrow/type-predicate-asserts1.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`functions arrow type-predicate-asserts1 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -83,5 +80,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/functions/arrow/type-predicate-asserts2.ts.shot b/packages/scope-manager/tests/fixtures/functions/arrow/type-predicate-asserts2.ts.shot index 9144d1c60697..d23225f7e719 100644 --- a/packages/scope-manager/tests/fixtures/functions/arrow/type-predicate-asserts2.ts.shot +++ b/packages/scope-manager/tests/fixtures/functions/arrow/type-predicate-asserts2.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`functions arrow type-predicate-asserts2 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -107,5 +104,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/functions/arrow/type-predicate1.ts.shot b/packages/scope-manager/tests/fixtures/functions/arrow/type-predicate1.ts.shot index 2ae489bf6fe5..beda27d876b7 100644 --- a/packages/scope-manager/tests/fixtures/functions/arrow/type-predicate1.ts.shot +++ b/packages/scope-manager/tests/fixtures/functions/arrow/type-predicate1.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`functions arrow type-predicate1 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -92,5 +89,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/functions/arrow/type-predicate2.ts.shot b/packages/scope-manager/tests/fixtures/functions/arrow/type-predicate2.ts.shot index ba3ad3b10b12..3b91d28e3549 100644 --- a/packages/scope-manager/tests/fixtures/functions/arrow/type-predicate2.ts.shot +++ b/packages/scope-manager/tests/fixtures/functions/arrow/type-predicate2.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`functions arrow type-predicate2 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -116,5 +113,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/functions/function-declaration/default-params/readable-ref-body-shadow.ts.shot b/packages/scope-manager/tests/fixtures/functions/function-declaration/default-params/readable-ref-body-shadow.ts.shot index b33917be6a90..7c0dfc58478c 100644 --- a/packages/scope-manager/tests/fixtures/functions/function-declaration/default-params/readable-ref-body-shadow.ts.shot +++ b/packages/scope-manager/tests/fixtures/functions/function-declaration/default-params/readable-ref-body-shadow.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`functions function-declaration default-params readable-ref-body-shadow 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -119,5 +116,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/functions/function-declaration/default-params/readable-ref-const.ts.shot b/packages/scope-manager/tests/fixtures/functions/function-declaration/default-params/readable-ref-const.ts.shot index 71cebbc903f0..9f05bcaa5e96 100644 --- a/packages/scope-manager/tests/fixtures/functions/function-declaration/default-params/readable-ref-const.ts.shot +++ b/packages/scope-manager/tests/fixtures/functions/function-declaration/default-params/readable-ref-const.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`functions function-declaration default-params readable-ref-const 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -117,5 +114,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/functions/function-declaration/default-params/readable-ref-let.ts.shot b/packages/scope-manager/tests/fixtures/functions/function-declaration/default-params/readable-ref-let.ts.shot index 71ce5ae9071c..86f3cc016e18 100644 --- a/packages/scope-manager/tests/fixtures/functions/function-declaration/default-params/readable-ref-let.ts.shot +++ b/packages/scope-manager/tests/fixtures/functions/function-declaration/default-params/readable-ref-let.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`functions function-declaration default-params readable-ref-let 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -105,5 +102,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/functions/function-declaration/default-params/readable-ref-nested-body-shadow.ts.shot b/packages/scope-manager/tests/fixtures/functions/function-declaration/default-params/readable-ref-nested-body-shadow.ts.shot index ff905aa38429..e19db5b06a4b 100644 --- a/packages/scope-manager/tests/fixtures/functions/function-declaration/default-params/readable-ref-nested-body-shadow.ts.shot +++ b/packages/scope-manager/tests/fixtures/functions/function-declaration/default-params/readable-ref-nested-body-shadow.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`functions function-declaration default-params readable-ref-nested-body-shadow 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -140,5 +137,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/functions/function-declaration/default-params/readable-ref-nested.ts.shot b/packages/scope-manager/tests/fixtures/functions/function-declaration/default-params/readable-ref-nested.ts.shot index 94c8f0d15e3d..940d239bd5c7 100644 --- a/packages/scope-manager/tests/fixtures/functions/function-declaration/default-params/readable-ref-nested.ts.shot +++ b/packages/scope-manager/tests/fixtures/functions/function-declaration/default-params/readable-ref-nested.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`functions function-declaration default-params readable-ref-nested 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -126,5 +123,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/functions/function-declaration/default-params/readable-ref-param-shadow.ts.shot b/packages/scope-manager/tests/fixtures/functions/function-declaration/default-params/readable-ref-param-shadow.ts.shot index cfee6470863a..258a68be370e 100644 --- a/packages/scope-manager/tests/fixtures/functions/function-declaration/default-params/readable-ref-param-shadow.ts.shot +++ b/packages/scope-manager/tests/fixtures/functions/function-declaration/default-params/readable-ref-param-shadow.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`functions function-declaration default-params readable-ref-param-shadow 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -119,5 +116,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/functions/function-declaration/default-params/readable-ref-partial.ts.shot b/packages/scope-manager/tests/fixtures/functions/function-declaration/default-params/readable-ref-partial.ts.shot index 178135b94987..b96db42de0b6 100644 --- a/packages/scope-manager/tests/fixtures/functions/function-declaration/default-params/readable-ref-partial.ts.shot +++ b/packages/scope-manager/tests/fixtures/functions/function-declaration/default-params/readable-ref-partial.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`functions function-declaration default-params readable-ref-partial 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -105,5 +102,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/functions/function-declaration/default-params/writable-ref.ts.shot b/packages/scope-manager/tests/fixtures/functions/function-declaration/default-params/writable-ref.ts.shot index ddcbbff2b4ee..fb1362cb7268 100644 --- a/packages/scope-manager/tests/fixtures/functions/function-declaration/default-params/writable-ref.ts.shot +++ b/packages/scope-manager/tests/fixtures/functions/function-declaration/default-params/writable-ref.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`functions function-declaration default-params writable-ref 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -95,5 +92,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/functions/function-declaration/inherited-scope.ts.shot b/packages/scope-manager/tests/fixtures/functions/function-declaration/inherited-scope.ts.shot index cf29482369f8..11fac584dcbf 100644 --- a/packages/scope-manager/tests/fixtures/functions/function-declaration/inherited-scope.ts.shot +++ b/packages/scope-manager/tests/fixtures/functions/function-declaration/inherited-scope.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`functions function-declaration inherited-scope 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -91,5 +88,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/functions/function-declaration/name-shadowed-in-body.ts.shot b/packages/scope-manager/tests/fixtures/functions/function-declaration/name-shadowed-in-body.ts.shot index b88e35785a76..90cba524a177 100644 --- a/packages/scope-manager/tests/fixtures/functions/function-declaration/name-shadowed-in-body.ts.shot +++ b/packages/scope-manager/tests/fixtures/functions/function-declaration/name-shadowed-in-body.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`functions function-declaration name-shadowed-in-body 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -118,5 +115,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/functions/function-declaration/overload.ts.shot b/packages/scope-manager/tests/fixtures/functions/function-declaration/overload.ts.shot index d715e60e1311..856f6f1399ed 100644 --- a/packages/scope-manager/tests/fixtures/functions/function-declaration/overload.ts.shot +++ b/packages/scope-manager/tests/fixtures/functions/function-declaration/overload.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`functions function-declaration overload 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -145,5 +142,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/functions/function-declaration/params.ts.shot b/packages/scope-manager/tests/fixtures/functions/function-declaration/params.ts.shot index 5b7eab953eba..784eff50e8af 100644 --- a/packages/scope-manager/tests/fixtures/functions/function-declaration/params.ts.shot +++ b/packages/scope-manager/tests/fixtures/functions/function-declaration/params.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`functions function-declaration params 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -278,5 +275,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/functions/function-declaration/scope.ts.shot b/packages/scope-manager/tests/fixtures/functions/function-declaration/scope.ts.shot index 31960875e9a2..7230cd55463c 100644 --- a/packages/scope-manager/tests/fixtures/functions/function-declaration/scope.ts.shot +++ b/packages/scope-manager/tests/fixtures/functions/function-declaration/scope.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`functions function-declaration scope 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -151,5 +148,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/functions/function-declaration/type-parameters/body-reference.ts.shot b/packages/scope-manager/tests/fixtures/functions/function-declaration/type-parameters/body-reference.ts.shot index 82b6c82e1c25..a6afbd2dc9b8 100644 --- a/packages/scope-manager/tests/fixtures/functions/function-declaration/type-parameters/body-reference.ts.shot +++ b/packages/scope-manager/tests/fixtures/functions/function-declaration/type-parameters/body-reference.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`functions function-declaration type-parameters body-reference 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -93,5 +90,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/functions/function-declaration/type-parameters/param-reference.ts.shot b/packages/scope-manager/tests/fixtures/functions/function-declaration/type-parameters/param-reference.ts.shot index b8ee1e780a1f..ab61d44119e2 100644 --- a/packages/scope-manager/tests/fixtures/functions/function-declaration/type-parameters/param-reference.ts.shot +++ b/packages/scope-manager/tests/fixtures/functions/function-declaration/type-parameters/param-reference.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`functions function-declaration type-parameters param-reference 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -93,5 +90,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/functions/function-declaration/type-parameters/return-value-reference.ts.shot b/packages/scope-manager/tests/fixtures/functions/function-declaration/type-parameters/return-value-reference.ts.shot index 02805772d126..4ec2fe3ba579 100644 --- a/packages/scope-manager/tests/fixtures/functions/function-declaration/type-parameters/return-value-reference.ts.shot +++ b/packages/scope-manager/tests/fixtures/functions/function-declaration/type-parameters/return-value-reference.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`functions function-declaration type-parameters return-value-reference 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -79,5 +76,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/functions/function-declaration/type-parameters/type-param-reference.ts.shot b/packages/scope-manager/tests/fixtures/functions/function-declaration/type-parameters/type-param-reference.ts.shot index 779fd3b229fb..f9c9f75bd23f 100644 --- a/packages/scope-manager/tests/fixtures/functions/function-declaration/type-parameters/type-param-reference.ts.shot +++ b/packages/scope-manager/tests/fixtures/functions/function-declaration/type-parameters/type-param-reference.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`functions function-declaration type-parameters type-param-reference 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -93,5 +90,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/functions/function-declaration/type-parameters/type-parameter-declaration.ts.shot b/packages/scope-manager/tests/fixtures/functions/function-declaration/type-parameters/type-parameter-declaration.ts.shot index cd8d3b286993..960db0756c99 100644 --- a/packages/scope-manager/tests/fixtures/functions/function-declaration/type-parameters/type-parameter-declaration.ts.shot +++ b/packages/scope-manager/tests/fixtures/functions/function-declaration/type-parameters/type-parameter-declaration.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`functions function-declaration type-parameters type-parameter-declaration 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -91,5 +88,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/functions/function-declaration/type-predicate-asserts1.ts.shot b/packages/scope-manager/tests/fixtures/functions/function-declaration/type-predicate-asserts1.ts.shot index 58bbf6ca3f77..bf0006a9662f 100644 --- a/packages/scope-manager/tests/fixtures/functions/function-declaration/type-predicate-asserts1.ts.shot +++ b/packages/scope-manager/tests/fixtures/functions/function-declaration/type-predicate-asserts1.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`functions function-declaration type-predicate-asserts1 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -79,5 +76,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/functions/function-declaration/type-predicate-asserts2.ts.shot b/packages/scope-manager/tests/fixtures/functions/function-declaration/type-predicate-asserts2.ts.shot index 5800523279e3..cef3ab039e18 100644 --- a/packages/scope-manager/tests/fixtures/functions/function-declaration/type-predicate-asserts2.ts.shot +++ b/packages/scope-manager/tests/fixtures/functions/function-declaration/type-predicate-asserts2.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`functions function-declaration type-predicate-asserts2 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -103,5 +100,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/functions/function-declaration/type-predicate1.ts.shot b/packages/scope-manager/tests/fixtures/functions/function-declaration/type-predicate1.ts.shot index 126d680e3c60..afcb7bf8aa3d 100644 --- a/packages/scope-manager/tests/fixtures/functions/function-declaration/type-predicate1.ts.shot +++ b/packages/scope-manager/tests/fixtures/functions/function-declaration/type-predicate1.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`functions function-declaration type-predicate1 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -88,5 +85,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/functions/function-declaration/type-predicate2.ts.shot b/packages/scope-manager/tests/fixtures/functions/function-declaration/type-predicate2.ts.shot index 1286288ddb65..41a1d0e54d3b 100644 --- a/packages/scope-manager/tests/fixtures/functions/function-declaration/type-predicate2.ts.shot +++ b/packages/scope-manager/tests/fixtures/functions/function-declaration/type-predicate2.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`functions function-declaration type-predicate2 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -112,5 +109,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/functions/function-expression/anonymous.ts.shot b/packages/scope-manager/tests/fixtures/functions/function-expression/anonymous.ts.shot index d92483667335..0158742d03bc 100644 --- a/packages/scope-manager/tests/fixtures/functions/function-expression/anonymous.ts.shot +++ b/packages/scope-manager/tests/fixtures/functions/function-expression/anonymous.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`functions function-expression anonymous 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -67,5 +64,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/functions/function-expression/default-params/readable-ref-body-shadow.ts.shot b/packages/scope-manager/tests/fixtures/functions/function-expression/default-params/readable-ref-body-shadow.ts.shot index 42bc4e028b1a..550af4ec38e2 100644 --- a/packages/scope-manager/tests/fixtures/functions/function-expression/default-params/readable-ref-body-shadow.ts.shot +++ b/packages/scope-manager/tests/fixtures/functions/function-expression/default-params/readable-ref-body-shadow.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`functions function-expression default-params readable-ref-body-shadow 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -132,5 +129,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/functions/function-expression/default-params/readable-ref-const.ts.shot b/packages/scope-manager/tests/fixtures/functions/function-expression/default-params/readable-ref-const.ts.shot index fab5e18a2e1c..c511d55b225e 100644 --- a/packages/scope-manager/tests/fixtures/functions/function-expression/default-params/readable-ref-const.ts.shot +++ b/packages/scope-manager/tests/fixtures/functions/function-expression/default-params/readable-ref-const.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`functions function-expression default-params readable-ref-const 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -129,5 +126,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/functions/function-expression/default-params/readable-ref-let.ts.shot b/packages/scope-manager/tests/fixtures/functions/function-expression/default-params/readable-ref-let.ts.shot index 7542d5c468b9..590816ec3079 100644 --- a/packages/scope-manager/tests/fixtures/functions/function-expression/default-params/readable-ref-let.ts.shot +++ b/packages/scope-manager/tests/fixtures/functions/function-expression/default-params/readable-ref-let.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`functions function-expression default-params readable-ref-let 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -118,5 +115,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/functions/function-expression/default-params/readable-ref-nested-body-shadow.ts.shot b/packages/scope-manager/tests/fixtures/functions/function-expression/default-params/readable-ref-nested-body-shadow.ts.shot index 1043ff8fb6bc..e24aba6231ee 100644 --- a/packages/scope-manager/tests/fixtures/functions/function-expression/default-params/readable-ref-nested-body-shadow.ts.shot +++ b/packages/scope-manager/tests/fixtures/functions/function-expression/default-params/readable-ref-nested-body-shadow.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`functions function-expression default-params readable-ref-nested-body-shadow 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -153,5 +150,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/functions/function-expression/default-params/readable-ref-nested.ts.shot b/packages/scope-manager/tests/fixtures/functions/function-expression/default-params/readable-ref-nested.ts.shot index 374f8e621260..1c16ee6e545b 100644 --- a/packages/scope-manager/tests/fixtures/functions/function-expression/default-params/readable-ref-nested.ts.shot +++ b/packages/scope-manager/tests/fixtures/functions/function-expression/default-params/readable-ref-nested.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`functions function-expression default-params readable-ref-nested 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -139,5 +136,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/functions/function-expression/default-params/readable-ref-param-shadow.ts.shot b/packages/scope-manager/tests/fixtures/functions/function-expression/default-params/readable-ref-param-shadow.ts.shot index e54dbb30b521..f58b8df228e2 100644 --- a/packages/scope-manager/tests/fixtures/functions/function-expression/default-params/readable-ref-param-shadow.ts.shot +++ b/packages/scope-manager/tests/fixtures/functions/function-expression/default-params/readable-ref-param-shadow.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`functions function-expression default-params readable-ref-param-shadow 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -132,5 +129,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/functions/function-expression/default-params/readable-ref-partial.ts.shot b/packages/scope-manager/tests/fixtures/functions/function-expression/default-params/readable-ref-partial.ts.shot index abc7ae25e5c7..42d48b1ad055 100644 --- a/packages/scope-manager/tests/fixtures/functions/function-expression/default-params/readable-ref-partial.ts.shot +++ b/packages/scope-manager/tests/fixtures/functions/function-expression/default-params/readable-ref-partial.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`functions function-expression default-params readable-ref-partial 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -118,5 +115,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/functions/function-expression/default-params/writable-ref.ts.shot b/packages/scope-manager/tests/fixtures/functions/function-expression/default-params/writable-ref.ts.shot index 463399d84696..a0f9786603e1 100644 --- a/packages/scope-manager/tests/fixtures/functions/function-expression/default-params/writable-ref.ts.shot +++ b/packages/scope-manager/tests/fixtures/functions/function-expression/default-params/writable-ref.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`functions function-expression default-params writable-ref 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -108,5 +105,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/functions/function-expression/inherited-scope.ts.shot b/packages/scope-manager/tests/fixtures/functions/function-expression/inherited-scope.ts.shot index 288e003d4f89..c62ab4a905a4 100644 --- a/packages/scope-manager/tests/fixtures/functions/function-expression/inherited-scope.ts.shot +++ b/packages/scope-manager/tests/fixtures/functions/function-expression/inherited-scope.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`functions function-expression inherited-scope 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -103,5 +100,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/functions/function-expression/params.ts.shot b/packages/scope-manager/tests/fixtures/functions/function-expression/params.ts.shot index c7e8bb36546d..c1a251d89acb 100644 --- a/packages/scope-manager/tests/fixtures/functions/function-expression/params.ts.shot +++ b/packages/scope-manager/tests/fixtures/functions/function-expression/params.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`functions function-expression params 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -290,5 +287,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/functions/function-expression/scope.ts.shot b/packages/scope-manager/tests/fixtures/functions/function-expression/scope.ts.shot index e86ff00255b8..0bedf77335cf 100644 --- a/packages/scope-manager/tests/fixtures/functions/function-expression/scope.ts.shot +++ b/packages/scope-manager/tests/fixtures/functions/function-expression/scope.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`functions function-expression scope 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -163,5 +160,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/functions/function-expression/type-parameters/body-reference.ts.shot b/packages/scope-manager/tests/fixtures/functions/function-expression/type-parameters/body-reference.ts.shot index a1a00222b0a8..f2dfbf3a123c 100644 --- a/packages/scope-manager/tests/fixtures/functions/function-expression/type-parameters/body-reference.ts.shot +++ b/packages/scope-manager/tests/fixtures/functions/function-expression/type-parameters/body-reference.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`functions function-expression type-parameters body-reference 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -106,5 +103,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/functions/function-expression/type-parameters/param-reference.ts.shot b/packages/scope-manager/tests/fixtures/functions/function-expression/type-parameters/param-reference.ts.shot index 70a9021c04ee..de1c36a2099e 100644 --- a/packages/scope-manager/tests/fixtures/functions/function-expression/type-parameters/param-reference.ts.shot +++ b/packages/scope-manager/tests/fixtures/functions/function-expression/type-parameters/param-reference.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`functions function-expression type-parameters param-reference 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -106,5 +103,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/functions/function-expression/type-parameters/return-value-reference.ts.shot b/packages/scope-manager/tests/fixtures/functions/function-expression/type-parameters/return-value-reference.ts.shot index 27b8819fcae9..da3122149de0 100644 --- a/packages/scope-manager/tests/fixtures/functions/function-expression/type-parameters/return-value-reference.ts.shot +++ b/packages/scope-manager/tests/fixtures/functions/function-expression/type-parameters/return-value-reference.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`functions function-expression type-parameters return-value-reference 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -92,5 +89,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/functions/function-expression/type-parameters/type-param-reference.ts.shot b/packages/scope-manager/tests/fixtures/functions/function-expression/type-parameters/type-param-reference.ts.shot index ce68a02c8be1..7b4f1371486b 100644 --- a/packages/scope-manager/tests/fixtures/functions/function-expression/type-parameters/type-param-reference.ts.shot +++ b/packages/scope-manager/tests/fixtures/functions/function-expression/type-parameters/type-param-reference.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`functions function-expression type-parameters type-param-reference 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -106,5 +103,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/functions/function-expression/type-parameters/type-parameter-declaration.ts.shot b/packages/scope-manager/tests/fixtures/functions/function-expression/type-parameters/type-parameter-declaration.ts.shot index 7335c06c37ac..37942fbf9c78 100644 --- a/packages/scope-manager/tests/fixtures/functions/function-expression/type-parameters/type-parameter-declaration.ts.shot +++ b/packages/scope-manager/tests/fixtures/functions/function-expression/type-parameters/type-parameter-declaration.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`functions function-expression type-parameters type-parameter-declaration 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -103,5 +100,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/functions/function-expression/type-predicate-asserts1.ts.shot b/packages/scope-manager/tests/fixtures/functions/function-expression/type-predicate-asserts1.ts.shot index c8a30508c0f1..71b98313623a 100644 --- a/packages/scope-manager/tests/fixtures/functions/function-expression/type-predicate-asserts1.ts.shot +++ b/packages/scope-manager/tests/fixtures/functions/function-expression/type-predicate-asserts1.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`functions function-expression type-predicate-asserts1 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -92,5 +89,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/functions/function-expression/type-predicate-asserts2.ts.shot b/packages/scope-manager/tests/fixtures/functions/function-expression/type-predicate-asserts2.ts.shot index 9b8dd6d91a0e..519d74001774 100644 --- a/packages/scope-manager/tests/fixtures/functions/function-expression/type-predicate-asserts2.ts.shot +++ b/packages/scope-manager/tests/fixtures/functions/function-expression/type-predicate-asserts2.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`functions function-expression type-predicate-asserts2 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -116,5 +113,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/functions/function-expression/type-predicate1.ts.shot b/packages/scope-manager/tests/fixtures/functions/function-expression/type-predicate1.ts.shot index b2a6758bd867..3fdee3521ab9 100644 --- a/packages/scope-manager/tests/fixtures/functions/function-expression/type-predicate1.ts.shot +++ b/packages/scope-manager/tests/fixtures/functions/function-expression/type-predicate1.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`functions function-expression type-predicate1 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -101,5 +98,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/functions/function-expression/type-predicate2.ts.shot b/packages/scope-manager/tests/fixtures/functions/function-expression/type-predicate2.ts.shot index d014825a68bb..d9d9153d3811 100644 --- a/packages/scope-manager/tests/fixtures/functions/function-expression/type-predicate2.ts.shot +++ b/packages/scope-manager/tests/fixtures/functions/function-expression/type-predicate2.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`functions function-expression type-predicate2 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -125,5 +122,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/global-resolution/module/class.ts.shot b/packages/scope-manager/tests/fixtures/global-resolution/module/class.ts.shot index cdb2958a85ce..f4d8baa85193 100644 --- a/packages/scope-manager/tests/fixtures/global-resolution/module/class.ts.shot +++ b/packages/scope-manager/tests/fixtures/global-resolution/module/class.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`global-resolution module class 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -81,5 +78,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/global-resolution/module/function.ts.shot b/packages/scope-manager/tests/fixtures/global-resolution/module/function.ts.shot index 9124462fbfbc..c8acacafc63e 100644 --- a/packages/scope-manager/tests/fixtures/global-resolution/module/function.ts.shot +++ b/packages/scope-manager/tests/fixtures/global-resolution/module/function.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`global-resolution module function 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -76,5 +73,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/global-resolution/module/variable-decl-const.ts.shot b/packages/scope-manager/tests/fixtures/global-resolution/module/variable-decl-const.ts.shot index f2abe6f88630..4b6c05c44894 100644 --- a/packages/scope-manager/tests/fixtures/global-resolution/module/variable-decl-const.ts.shot +++ b/packages/scope-manager/tests/fixtures/global-resolution/module/variable-decl-const.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`global-resolution module variable-decl-const 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -76,5 +73,4 @@ ScopeManager { variables: [], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/global-resolution/module/variable-decl-let.ts.shot b/packages/scope-manager/tests/fixtures/global-resolution/module/variable-decl-let.ts.shot index 18989259b7a0..4b6c05c44894 100644 --- a/packages/scope-manager/tests/fixtures/global-resolution/module/variable-decl-let.ts.shot +++ b/packages/scope-manager/tests/fixtures/global-resolution/module/variable-decl-let.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`global-resolution module variable-decl-let 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -76,5 +73,4 @@ ScopeManager { variables: [], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/global-resolution/module/variable-decl-var.ts.shot b/packages/scope-manager/tests/fixtures/global-resolution/module/variable-decl-var.ts.shot index f07908635a06..4b6c05c44894 100644 --- a/packages/scope-manager/tests/fixtures/global-resolution/module/variable-decl-var.ts.shot +++ b/packages/scope-manager/tests/fixtures/global-resolution/module/variable-decl-var.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`global-resolution module variable-decl-var 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -76,5 +73,4 @@ ScopeManager { variables: [], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/global-resolution/script/class.ts.shot b/packages/scope-manager/tests/fixtures/global-resolution/script/class.ts.shot index 9f281b323747..a12e1cfe1747 100644 --- a/packages/scope-manager/tests/fixtures/global-resolution/script/class.ts.shot +++ b/packages/scope-manager/tests/fixtures/global-resolution/script/class.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`global-resolution script class 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -70,5 +67,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/global-resolution/script/function.ts.shot b/packages/scope-manager/tests/fixtures/global-resolution/script/function.ts.shot index 8c3f647e6830..d3c19cab606a 100644 --- a/packages/scope-manager/tests/fixtures/global-resolution/script/function.ts.shot +++ b/packages/scope-manager/tests/fixtures/global-resolution/script/function.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`global-resolution script function 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -65,5 +62,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/global-resolution/script/variable-decl-const.ts.shot b/packages/scope-manager/tests/fixtures/global-resolution/script/variable-decl-const.ts.shot index 2f76c5879876..0c01577449f6 100644 --- a/packages/scope-manager/tests/fixtures/global-resolution/script/variable-decl-const.ts.shot +++ b/packages/scope-manager/tests/fixtures/global-resolution/script/variable-decl-const.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`global-resolution script variable-decl-const 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -65,5 +62,4 @@ ScopeManager { variables: [], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/global-resolution/script/variable-decl-let.ts.shot b/packages/scope-manager/tests/fixtures/global-resolution/script/variable-decl-let.ts.shot index cc353b1fe023..0c01577449f6 100644 --- a/packages/scope-manager/tests/fixtures/global-resolution/script/variable-decl-let.ts.shot +++ b/packages/scope-manager/tests/fixtures/global-resolution/script/variable-decl-let.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`global-resolution script variable-decl-let 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -65,5 +62,4 @@ ScopeManager { variables: [], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/global-resolution/script/variable-decl-var.ts.shot b/packages/scope-manager/tests/fixtures/global-resolution/script/variable-decl-var.ts.shot index 9e81aa96e076..0b876879bc3b 100644 --- a/packages/scope-manager/tests/fixtures/global-resolution/script/variable-decl-var.ts.shot +++ b/packages/scope-manager/tests/fixtures/global-resolution/script/variable-decl-var.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`global-resolution script variable-decl-var 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -62,5 +59,4 @@ ScopeManager { variables: [], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/implicit/implicit1.ts.shot b/packages/scope-manager/tests/fixtures/implicit/implicit1.ts.shot index 69975f651713..74bec8114e96 100644 --- a/packages/scope-manager/tests/fixtures/implicit/implicit1.ts.shot +++ b/packages/scope-manager/tests/fixtures/implicit/implicit1.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`implicit implicit1 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -55,5 +52,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/import/default.ts.shot b/packages/scope-manager/tests/fixtures/import/default.ts.shot index e1f2f15061c7..3dff79cc82e6 100644 --- a/packages/scope-manager/tests/fixtures/import/default.ts.shot +++ b/packages/scope-manager/tests/fixtures/import/default.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`import default 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -79,5 +76,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/import/equals1.ts.shot b/packages/scope-manager/tests/fixtures/import/equals1.ts.shot index f5492b5c0b34..aeb4663e897c 100644 --- a/packages/scope-manager/tests/fixtures/import/equals1.ts.shot +++ b/packages/scope-manager/tests/fixtures/import/equals1.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`import equals1 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -56,5 +53,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/import/equals2.ts.shot b/packages/scope-manager/tests/fixtures/import/equals2.ts.shot index f420056f8fb7..31610da21ee0 100644 --- a/packages/scope-manager/tests/fixtures/import/equals2.ts.shot +++ b/packages/scope-manager/tests/fixtures/import/equals2.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`import equals2 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -81,5 +78,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/import/named-alias.ts.shot b/packages/scope-manager/tests/fixtures/import/named-alias.ts.shot index d4829a612cc4..598f3b076ea5 100644 --- a/packages/scope-manager/tests/fixtures/import/named-alias.ts.shot +++ b/packages/scope-manager/tests/fixtures/import/named-alias.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`import named-alias 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -79,5 +76,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/import/named.ts.shot b/packages/scope-manager/tests/fixtures/import/named.ts.shot index e36df5a8ce79..90721f03a476 100644 --- a/packages/scope-manager/tests/fixtures/import/named.ts.shot +++ b/packages/scope-manager/tests/fixtures/import/named.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`import named 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -79,5 +76,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/import/namespace.ts.shot b/packages/scope-manager/tests/fixtures/import/namespace.ts.shot index d3e2d4238de6..b67c8b8488e4 100644 --- a/packages/scope-manager/tests/fixtures/import/namespace.ts.shot +++ b/packages/scope-manager/tests/fixtures/import/namespace.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`import namespace 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -79,5 +76,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/import/type-default-value.ts.shot b/packages/scope-manager/tests/fixtures/import/type-default-value.ts.shot index f8baa13e445e..e62306f568a1 100644 --- a/packages/scope-manager/tests/fixtures/import/type-default-value.ts.shot +++ b/packages/scope-manager/tests/fixtures/import/type-default-value.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`import type-default-value 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -70,5 +67,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/import/type-default.ts.shot b/packages/scope-manager/tests/fixtures/import/type-default.ts.shot index d6ed327ca1ed..fc260cce94ea 100644 --- a/packages/scope-manager/tests/fixtures/import/type-default.ts.shot +++ b/packages/scope-manager/tests/fixtures/import/type-default.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`import type-default 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -105,5 +102,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/import/type-inline-value.ts.shot b/packages/scope-manager/tests/fixtures/import/type-inline-value.ts.shot index e707e4378348..e798c60b8956 100644 --- a/packages/scope-manager/tests/fixtures/import/type-inline-value.ts.shot +++ b/packages/scope-manager/tests/fixtures/import/type-inline-value.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`import type-inline-value 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -70,5 +67,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/import/type-inline.ts.shot b/packages/scope-manager/tests/fixtures/import/type-inline.ts.shot index 4f7f51451865..c25f8686ff73 100644 --- a/packages/scope-manager/tests/fixtures/import/type-inline.ts.shot +++ b/packages/scope-manager/tests/fixtures/import/type-inline.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`import type-inline 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -105,5 +102,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/import/type-named-value.ts.shot b/packages/scope-manager/tests/fixtures/import/type-named-value.ts.shot index 5e0f4fd44f8a..e798c60b8956 100644 --- a/packages/scope-manager/tests/fixtures/import/type-named-value.ts.shot +++ b/packages/scope-manager/tests/fixtures/import/type-named-value.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`import type-named-value 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -70,5 +67,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/import/type-named.ts.shot b/packages/scope-manager/tests/fixtures/import/type-named.ts.shot index 1ae374ec3cb2..c25f8686ff73 100644 --- a/packages/scope-manager/tests/fixtures/import/type-named.ts.shot +++ b/packages/scope-manager/tests/fixtures/import/type-named.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`import type-named 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -105,5 +102,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/instantiation-expressions/type-arguments1.ts.shot b/packages/scope-manager/tests/fixtures/instantiation-expressions/type-arguments1.ts.shot index 2b1fc5516095..ccb10a590e86 100644 --- a/packages/scope-manager/tests/fixtures/instantiation-expressions/type-arguments1.ts.shot +++ b/packages/scope-manager/tests/fixtures/instantiation-expressions/type-arguments1.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`instantiation-expressions type-arguments1 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -178,5 +175,4 @@ ScopeManager { variables: [], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/instantiation-expressions/type-arguments2.ts.shot b/packages/scope-manager/tests/fixtures/instantiation-expressions/type-arguments2.ts.shot index 41e65e1fc9e5..49ca5829a188 100644 --- a/packages/scope-manager/tests/fixtures/instantiation-expressions/type-arguments2.ts.shot +++ b/packages/scope-manager/tests/fixtures/instantiation-expressions/type-arguments2.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`instantiation-expressions type-arguments2 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -199,5 +196,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/jsx/attribute-spread.tsx.shot b/packages/scope-manager/tests/fixtures/jsx/attribute-spread.tsx.shot index 81fa17cd3325..fce00cb4c385 100644 --- a/packages/scope-manager/tests/fixtures/jsx/attribute-spread.tsx.shot +++ b/packages/scope-manager/tests/fixtures/jsx/attribute-spread.tsx.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`jsx attribute-spread 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -64,5 +61,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/jsx/attribute.tsx.shot b/packages/scope-manager/tests/fixtures/jsx/attribute.tsx.shot index 03e39320d301..5bc4a1e084fe 100644 --- a/packages/scope-manager/tests/fixtures/jsx/attribute.tsx.shot +++ b/packages/scope-manager/tests/fixtures/jsx/attribute.tsx.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`jsx attribute 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -90,5 +87,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/jsx/children.tsx.shot b/packages/scope-manager/tests/fixtures/jsx/children.tsx.shot index 52ae169f440b..64ab3e159b68 100644 --- a/packages/scope-manager/tests/fixtures/jsx/children.tsx.shot +++ b/packages/scope-manager/tests/fixtures/jsx/children.tsx.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`jsx children 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -72,5 +69,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/jsx/component-intrinsic-name.tsx.shot b/packages/scope-manager/tests/fixtures/jsx/component-intrinsic-name.tsx.shot index 89eb9e506c6a..7882f4a8c86c 100644 --- a/packages/scope-manager/tests/fixtures/jsx/component-intrinsic-name.tsx.shot +++ b/packages/scope-manager/tests/fixtures/jsx/component-intrinsic-name.tsx.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`jsx component-intrinsic-name 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -54,5 +51,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/jsx/component-namespaced1.tsx.shot b/packages/scope-manager/tests/fixtures/jsx/component-namespaced1.tsx.shot index 79ce89305957..b74645ca5a89 100644 --- a/packages/scope-manager/tests/fixtures/jsx/component-namespaced1.tsx.shot +++ b/packages/scope-manager/tests/fixtures/jsx/component-namespaced1.tsx.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`jsx component-namespaced1 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -102,5 +99,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/jsx/component-namespaced2.tsx.shot b/packages/scope-manager/tests/fixtures/jsx/component-namespaced2.tsx.shot index d09154ae74c0..83d93aa7c1ad 100644 --- a/packages/scope-manager/tests/fixtures/jsx/component-namespaced2.tsx.shot +++ b/packages/scope-manager/tests/fixtures/jsx/component-namespaced2.tsx.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`jsx component-namespaced2 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -102,5 +99,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/jsx/component.tsx.shot b/packages/scope-manager/tests/fixtures/jsx/component.tsx.shot index 7e39028c5a97..799c5e3c2140 100644 --- a/packages/scope-manager/tests/fixtures/jsx/component.tsx.shot +++ b/packages/scope-manager/tests/fixtures/jsx/component.tsx.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`jsx component 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -65,5 +62,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/jsx/factory/default-jsxFragmentName.tsx.shot b/packages/scope-manager/tests/fixtures/jsx/factory/default-jsxFragmentName.tsx.shot index 2cefb6aabd16..5540b65572fe 100644 --- a/packages/scope-manager/tests/fixtures/jsx/factory/default-jsxFragmentName.tsx.shot +++ b/packages/scope-manager/tests/fixtures/jsx/factory/default-jsxFragmentName.tsx.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`jsx factory default-jsxFragmentName 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -70,5 +67,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/jsx/factory/default-jsxPragma-fragment.tsx.shot b/packages/scope-manager/tests/fixtures/jsx/factory/default-jsxPragma-fragment.tsx.shot index 6d30458e27de..205825f74790 100644 --- a/packages/scope-manager/tests/fixtures/jsx/factory/default-jsxPragma-fragment.tsx.shot +++ b/packages/scope-manager/tests/fixtures/jsx/factory/default-jsxPragma-fragment.tsx.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`jsx factory default-jsxPragma-fragment 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -56,5 +53,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/jsx/factory/default-jsxPragma.tsx.shot b/packages/scope-manager/tests/fixtures/jsx/factory/default-jsxPragma.tsx.shot index b0543b8c472d..6016b919bd2e 100644 --- a/packages/scope-manager/tests/fixtures/jsx/factory/default-jsxPragma.tsx.shot +++ b/packages/scope-manager/tests/fixtures/jsx/factory/default-jsxPragma.tsx.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`jsx factory default-jsxPragma 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -64,5 +61,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/jsx/factory/jsxFragmentName.tsx.shot b/packages/scope-manager/tests/fixtures/jsx/factory/jsxFragmentName.tsx.shot index 26773be751fb..650f26b760ed 100644 --- a/packages/scope-manager/tests/fixtures/jsx/factory/jsxFragmentName.tsx.shot +++ b/packages/scope-manager/tests/fixtures/jsx/factory/jsxFragmentName.tsx.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`jsx factory jsxFragmentName 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -80,5 +77,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/jsx/factory/jsxPragma-jsxFragmentName.tsx.shot b/packages/scope-manager/tests/fixtures/jsx/factory/jsxPragma-jsxFragmentName.tsx.shot index 0ca83a961093..0504fb619a17 100644 --- a/packages/scope-manager/tests/fixtures/jsx/factory/jsxPragma-jsxFragmentName.tsx.shot +++ b/packages/scope-manager/tests/fixtures/jsx/factory/jsxPragma-jsxFragmentName.tsx.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`jsx factory jsxPragma-jsxFragmentName 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -94,5 +91,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/jsx/factory/jsxPragma.tsx.shot b/packages/scope-manager/tests/fixtures/jsx/factory/jsxPragma.tsx.shot index 504cf01c2d8d..e3092d0bf1ad 100644 --- a/packages/scope-manager/tests/fixtures/jsx/factory/jsxPragma.tsx.shot +++ b/packages/scope-manager/tests/fixtures/jsx/factory/jsxPragma.tsx.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`jsx factory jsxPragma 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -78,5 +75,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/jsx/fragment-children.tsx.shot b/packages/scope-manager/tests/fixtures/jsx/fragment-children.tsx.shot index a1ec9eeb6065..0108df366323 100644 --- a/packages/scope-manager/tests/fixtures/jsx/fragment-children.tsx.shot +++ b/packages/scope-manager/tests/fixtures/jsx/fragment-children.tsx.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`jsx fragment-children 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -56,5 +53,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/jsx/fragment.tsx.shot b/packages/scope-manager/tests/fixtures/jsx/fragment.tsx.shot index dc0ee50b76a2..cfc6bc1c7ddc 100644 --- a/packages/scope-manager/tests/fixtures/jsx/fragment.tsx.shot +++ b/packages/scope-manager/tests/fixtures/jsx/fragment.tsx.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`jsx fragment 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -20,5 +17,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/jsx/generic-type-param.tsx.shot b/packages/scope-manager/tests/fixtures/jsx/generic-type-param.tsx.shot index 49cf5735dd22..5b5f2e7dac71 100644 --- a/packages/scope-manager/tests/fixtures/jsx/generic-type-param.tsx.shot +++ b/packages/scope-manager/tests/fixtures/jsx/generic-type-param.tsx.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`jsx generic-type-param 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -53,5 +50,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/jsx/namespaced-attribute.tsx.shot b/packages/scope-manager/tests/fixtures/jsx/namespaced-attribute.tsx.shot index 045b34b7964e..bd5e214adaaa 100644 --- a/packages/scope-manager/tests/fixtures/jsx/namespaced-attribute.tsx.shot +++ b/packages/scope-manager/tests/fixtures/jsx/namespaced-attribute.tsx.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`jsx namespaced-attribute 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -199,5 +196,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/jsx/text.tsx.shot b/packages/scope-manager/tests/fixtures/jsx/text.tsx.shot index 7909393c7404..119ee78e85b4 100644 --- a/packages/scope-manager/tests/fixtures/jsx/text.tsx.shot +++ b/packages/scope-manager/tests/fixtures/jsx/text.tsx.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`jsx text 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -47,5 +44,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/jsx/this-jsxidentifier.tsx.shot b/packages/scope-manager/tests/fixtures/jsx/this-jsxidentifier.tsx.shot index b8d1bbe5ac35..586bd014aa81 100644 --- a/packages/scope-manager/tests/fixtures/jsx/this-jsxidentifier.tsx.shot +++ b/packages/scope-manager/tests/fixtures/jsx/this-jsxidentifier.tsx.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`jsx this-jsxidentifier 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -139,5 +136,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/member-expression/member-expression.ts.shot b/packages/scope-manager/tests/fixtures/member-expression/member-expression.ts.shot index aef45836f2cb..913447bd577c 100644 --- a/packages/scope-manager/tests/fixtures/member-expression/member-expression.ts.shot +++ b/packages/scope-manager/tests/fixtures/member-expression/member-expression.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`member-expression member-expression 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -92,5 +89,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/new-expression/new-expression.ts.shot b/packages/scope-manager/tests/fixtures/new-expression/new-expression.ts.shot index 5bb09d673581..a768866feb03 100644 --- a/packages/scope-manager/tests/fixtures/new-expression/new-expression.ts.shot +++ b/packages/scope-manager/tests/fixtures/new-expression/new-expression.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`new-expression new-expression 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -105,5 +102,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/new-expression/type-parameters1.ts.shot b/packages/scope-manager/tests/fixtures/new-expression/type-parameters1.ts.shot index 8a3a242e5373..35728b220b5d 100644 --- a/packages/scope-manager/tests/fixtures/new-expression/type-parameters1.ts.shot +++ b/packages/scope-manager/tests/fixtures/new-expression/type-parameters1.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`new-expression type-parameters1 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -53,5 +50,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/new-expression/type-parameters2.ts.shot b/packages/scope-manager/tests/fixtures/new-expression/type-parameters2.ts.shot index a7a9b7d06fa5..52e523feb592 100644 --- a/packages/scope-manager/tests/fixtures/new-expression/type-parameters2.ts.shot +++ b/packages/scope-manager/tests/fixtures/new-expression/type-parameters2.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`new-expression type-parameters2 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -63,5 +60,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/ts-enum/external-ref.ts.shot b/packages/scope-manager/tests/fixtures/ts-enum/external-ref.ts.shot index d280c28da478..e97ce42a31ba 100644 --- a/packages/scope-manager/tests/fixtures/ts-enum/external-ref.ts.shot +++ b/packages/scope-manager/tests/fixtures/ts-enum/external-ref.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`ts-enum external-ref 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -70,5 +67,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/ts-enum/literal-member-ref.ts.shot b/packages/scope-manager/tests/fixtures/ts-enum/literal-member-ref.ts.shot index b2ad6e79966f..4346084c19b2 100644 --- a/packages/scope-manager/tests/fixtures/ts-enum/literal-member-ref.ts.shot +++ b/packages/scope-manager/tests/fixtures/ts-enum/literal-member-ref.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`ts-enum literal-member-ref 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -84,5 +81,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/ts-enum/literal-member.ts.shot b/packages/scope-manager/tests/fixtures/ts-enum/literal-member.ts.shot index 211dc5d3fef8..bac2317b8017 100644 --- a/packages/scope-manager/tests/fixtures/ts-enum/literal-member.ts.shot +++ b/packages/scope-manager/tests/fixtures/ts-enum/literal-member.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`ts-enum literal-member 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -59,5 +56,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/ts-enum/member-ref.ts.shot b/packages/scope-manager/tests/fixtures/ts-enum/member-ref.ts.shot index 72e9fca37e02..60ad172addb9 100644 --- a/packages/scope-manager/tests/fixtures/ts-enum/member-ref.ts.shot +++ b/packages/scope-manager/tests/fixtures/ts-enum/member-ref.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`ts-enum member-ref 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -84,5 +81,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/ts-enum/scope.ts.shot b/packages/scope-manager/tests/fixtures/ts-enum/scope.ts.shot index cef8795c18ee..d4edfa030e2d 100644 --- a/packages/scope-manager/tests/fixtures/ts-enum/scope.ts.shot +++ b/packages/scope-manager/tests/fixtures/ts-enum/scope.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`ts-enum scope 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -94,5 +91,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/ts-enum/self-ref.ts.shot b/packages/scope-manager/tests/fixtures/ts-enum/self-ref.ts.shot index 4b705897e680..df65076c4d20 100644 --- a/packages/scope-manager/tests/fixtures/ts-enum/self-ref.ts.shot +++ b/packages/scope-manager/tests/fixtures/ts-enum/self-ref.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`ts-enum self-ref 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -84,5 +81,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/ts-module/declaration-merging/class-namespace.ts.shot b/packages/scope-manager/tests/fixtures/ts-module/declaration-merging/class-namespace.ts.shot index 97bf5b48f693..58f7a5ea786b 100644 --- a/packages/scope-manager/tests/fixtures/ts-module/declaration-merging/class-namespace.ts.shot +++ b/packages/scope-manager/tests/fixtures/ts-module/declaration-merging/class-namespace.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`ts-module declaration-merging class-namespace 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -138,5 +135,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/ts-module/declaration-merging/function-namespace.ts.shot b/packages/scope-manager/tests/fixtures/ts-module/declaration-merging/function-namespace.ts.shot index 24ffa22ce70b..e639e65f3ed6 100644 --- a/packages/scope-manager/tests/fixtures/ts-module/declaration-merging/function-namespace.ts.shot +++ b/packages/scope-manager/tests/fixtures/ts-module/declaration-merging/function-namespace.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`ts-module declaration-merging function-namespace 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -133,5 +130,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/ts-module/declaration-merging/namespace-variable.ts.shot b/packages/scope-manager/tests/fixtures/ts-module/declaration-merging/namespace-variable.ts.shot index d30c1fa19097..18f7aee7ea36 100644 --- a/packages/scope-manager/tests/fixtures/ts-module/declaration-merging/namespace-variable.ts.shot +++ b/packages/scope-manager/tests/fixtures/ts-module/declaration-merging/namespace-variable.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`ts-module declaration-merging namespace-variable 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -95,5 +92,4 @@ ScopeManager { variables: [], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/ts-module/external-ref.ts.shot b/packages/scope-manager/tests/fixtures/ts-module/external-ref.ts.shot index 7568f8cc14f6..37c4d326dea3 100644 --- a/packages/scope-manager/tests/fixtures/ts-module/external-ref.ts.shot +++ b/packages/scope-manager/tests/fixtures/ts-module/external-ref.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`ts-module external-ref 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -83,5 +80,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/ts-module/global-augmentation.ts.shot b/packages/scope-manager/tests/fixtures/ts-module/global-augmentation.ts.shot index e11277e0e831..5cc08587281c 100644 --- a/packages/scope-manager/tests/fixtures/ts-module/global-augmentation.ts.shot +++ b/packages/scope-manager/tests/fixtures/ts-module/global-augmentation.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`ts-module global-augmentation 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -38,5 +35,4 @@ ScopeManager { variables: [], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/ts-module/import.ts.shot b/packages/scope-manager/tests/fixtures/ts-module/import.ts.shot index 63896fbbe30c..bee8a77175b3 100644 --- a/packages/scope-manager/tests/fixtures/ts-module/import.ts.shot +++ b/packages/scope-manager/tests/fixtures/ts-module/import.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`ts-module import 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -54,5 +51,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/ts-module/name-shadowed-in-body.ts.shot b/packages/scope-manager/tests/fixtures/ts-module/name-shadowed-in-body.ts.shot index 00bd08a0cf72..341e69b5f3c5 100644 --- a/packages/scope-manager/tests/fixtures/ts-module/name-shadowed-in-body.ts.shot +++ b/packages/scope-manager/tests/fixtures/ts-module/name-shadowed-in-body.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`ts-module name-shadowed-in-body 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -109,5 +106,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/ts-module/namespace.ts.shot b/packages/scope-manager/tests/fixtures/ts-module/namespace.ts.shot index f770a4177697..b641e6169573 100644 --- a/packages/scope-manager/tests/fixtures/ts-module/namespace.ts.shot +++ b/packages/scope-manager/tests/fixtures/ts-module/namespace.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`ts-module namespace 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -126,5 +123,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/ts-module/nested-namespace-alias.ts.shot b/packages/scope-manager/tests/fixtures/ts-module/nested-namespace-alias.ts.shot index 4348b1b07254..cdb69d107e63 100644 --- a/packages/scope-manager/tests/fixtures/ts-module/nested-namespace-alias.ts.shot +++ b/packages/scope-manager/tests/fixtures/ts-module/nested-namespace-alias.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`ts-module nested-namespace-alias 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -148,5 +145,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/ts-module/scope.ts.shot b/packages/scope-manager/tests/fixtures/ts-module/scope.ts.shot index b6d9ef01ee17..c04d65853430 100644 --- a/packages/scope-manager/tests/fixtures/ts-module/scope.ts.shot +++ b/packages/scope-manager/tests/fixtures/ts-module/scope.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`ts-module scope 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -107,5 +104,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/ts-module/self-ref.ts.shot b/packages/scope-manager/tests/fixtures/ts-module/self-ref.ts.shot index ed2862f0a588..fd5a364d9b82 100644 --- a/packages/scope-manager/tests/fixtures/ts-module/self-ref.ts.shot +++ b/packages/scope-manager/tests/fixtures/ts-module/self-ref.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`ts-module self-ref 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -82,5 +79,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/type-annotation/parameter-array-destructure.ts.shot b/packages/scope-manager/tests/fixtures/type-annotation/parameter-array-destructure.ts.shot index 63262a55417c..19f2d0af4ff2 100644 --- a/packages/scope-manager/tests/fixtures/type-annotation/parameter-array-destructure.ts.shot +++ b/packages/scope-manager/tests/fixtures/type-annotation/parameter-array-destructure.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`type-annotation parameter-array-destructure 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -93,5 +90,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/type-annotation/parameter-default.ts.shot b/packages/scope-manager/tests/fixtures/type-annotation/parameter-default.ts.shot index e4db8c93d15a..445190a00906 100644 --- a/packages/scope-manager/tests/fixtures/type-annotation/parameter-default.ts.shot +++ b/packages/scope-manager/tests/fixtures/type-annotation/parameter-default.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`type-annotation parameter-default 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -105,5 +102,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/type-annotation/parameter-object-destructure.ts.shot b/packages/scope-manager/tests/fixtures/type-annotation/parameter-object-destructure.ts.shot index bdda0b42ecc7..19f2d0af4ff2 100644 --- a/packages/scope-manager/tests/fixtures/type-annotation/parameter-object-destructure.ts.shot +++ b/packages/scope-manager/tests/fixtures/type-annotation/parameter-object-destructure.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`type-annotation parameter-object-destructure 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -93,5 +90,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/type-annotation/parameter-rest.ts.shot b/packages/scope-manager/tests/fixtures/type-annotation/parameter-rest.ts.shot index 601f7040cd92..19f2d0af4ff2 100644 --- a/packages/scope-manager/tests/fixtures/type-annotation/parameter-rest.ts.shot +++ b/packages/scope-manager/tests/fixtures/type-annotation/parameter-rest.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`type-annotation parameter-rest 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -93,5 +90,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/type-annotation/parameter.ts.shot b/packages/scope-manager/tests/fixtures/type-annotation/parameter.ts.shot index 8729302dafe2..19f2d0af4ff2 100644 --- a/packages/scope-manager/tests/fixtures/type-annotation/parameter.ts.shot +++ b/packages/scope-manager/tests/fixtures/type-annotation/parameter.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`type-annotation parameter 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -93,5 +90,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/type-annotation/variable-array-destructure.ts.shot b/packages/scope-manager/tests/fixtures/type-annotation/variable-array-destructure.ts.shot index 648b6c2f249f..f698e2fbab82 100644 --- a/packages/scope-manager/tests/fixtures/type-annotation/variable-array-destructure.ts.shot +++ b/packages/scope-manager/tests/fixtures/type-annotation/variable-array-destructure.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`type-annotation variable-array-destructure 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -71,5 +68,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/type-annotation/variable-const.ts.shot b/packages/scope-manager/tests/fixtures/type-annotation/variable-const.ts.shot index 4ce7836f76d7..8370154c32e4 100644 --- a/packages/scope-manager/tests/fixtures/type-annotation/variable-const.ts.shot +++ b/packages/scope-manager/tests/fixtures/type-annotation/variable-const.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`type-annotation variable-const 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -71,5 +68,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/type-annotation/variable-let.ts.shot b/packages/scope-manager/tests/fixtures/type-annotation/variable-let.ts.shot index ff9eeb73edcb..facead1ca5f7 100644 --- a/packages/scope-manager/tests/fixtures/type-annotation/variable-let.ts.shot +++ b/packages/scope-manager/tests/fixtures/type-annotation/variable-let.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`type-annotation variable-let 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -59,5 +56,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/type-annotation/variable-object-destructure.ts.shot b/packages/scope-manager/tests/fixtures/type-annotation/variable-object-destructure.ts.shot index 2292c4928bd9..efd92ef5edb1 100644 --- a/packages/scope-manager/tests/fixtures/type-annotation/variable-object-destructure.ts.shot +++ b/packages/scope-manager/tests/fixtures/type-annotation/variable-object-destructure.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`type-annotation variable-object-destructure 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -71,5 +68,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/type-annotation/variable-var.ts.shot b/packages/scope-manager/tests/fixtures/type-annotation/variable-var.ts.shot index 67fedd4ec0cd..facead1ca5f7 100644 --- a/packages/scope-manager/tests/fixtures/type-annotation/variable-var.ts.shot +++ b/packages/scope-manager/tests/fixtures/type-annotation/variable-var.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`type-annotation variable-var 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -59,5 +56,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/type-assertion/angle-bracket.ts.shot b/packages/scope-manager/tests/fixtures/type-assertion/angle-bracket.ts.shot index 4ddd9b1e6f9d..b71c00c996bd 100644 --- a/packages/scope-manager/tests/fixtures/type-assertion/angle-bracket.ts.shot +++ b/packages/scope-manager/tests/fixtures/type-assertion/angle-bracket.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`type-assertion angle-bracket 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -80,5 +77,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/type-assertion/as.ts.shot b/packages/scope-manager/tests/fixtures/type-assertion/as.ts.shot index 2fda1cadf45b..b71c00c996bd 100644 --- a/packages/scope-manager/tests/fixtures/type-assertion/as.ts.shot +++ b/packages/scope-manager/tests/fixtures/type-assertion/as.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`type-assertion as 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -80,5 +77,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/type-assertion/assignment/angle-bracket-assignment.ts.shot b/packages/scope-manager/tests/fixtures/type-assertion/assignment/angle-bracket-assignment.ts.shot index 8cd7ffcc40c6..b5b9be350312 100644 --- a/packages/scope-manager/tests/fixtures/type-assertion/assignment/angle-bracket-assignment.ts.shot +++ b/packages/scope-manager/tests/fixtures/type-assertion/assignment/angle-bracket-assignment.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`type-assertion assignment angle-bracket-assignment 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -58,5 +55,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/type-assertion/assignment/as-assignment.ts.shot b/packages/scope-manager/tests/fixtures/type-assertion/assignment/as-assignment.ts.shot index 5113cf590627..b5b9be350312 100644 --- a/packages/scope-manager/tests/fixtures/type-assertion/assignment/as-assignment.ts.shot +++ b/packages/scope-manager/tests/fixtures/type-assertion/assignment/as-assignment.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`type-assertion assignment as-assignment 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -58,5 +55,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/type-assertion/assignment/non-null-assignment.ts.shot b/packages/scope-manager/tests/fixtures/type-assertion/assignment/non-null-assignment.ts.shot index 46fe2b6a7d9f..b5b9be350312 100644 --- a/packages/scope-manager/tests/fixtures/type-assertion/assignment/non-null-assignment.ts.shot +++ b/packages/scope-manager/tests/fixtures/type-assertion/assignment/non-null-assignment.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`type-assertion assignment non-null-assignment 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -58,5 +55,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/type-assertion/increment/angle-bracket-increment.ts.shot b/packages/scope-manager/tests/fixtures/type-assertion/increment/angle-bracket-increment.ts.shot index c85d3ddb0422..cd96c473b19d 100644 --- a/packages/scope-manager/tests/fixtures/type-assertion/increment/angle-bracket-increment.ts.shot +++ b/packages/scope-manager/tests/fixtures/type-assertion/increment/angle-bracket-increment.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`type-assertion increment angle-bracket-increment 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -58,5 +55,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/type-assertion/increment/as-increment.ts.shot b/packages/scope-manager/tests/fixtures/type-assertion/increment/as-increment.ts.shot index f3437982f7d6..cd96c473b19d 100644 --- a/packages/scope-manager/tests/fixtures/type-assertion/increment/as-increment.ts.shot +++ b/packages/scope-manager/tests/fixtures/type-assertion/increment/as-increment.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`type-assertion increment as-increment 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -58,5 +55,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/type-assertion/increment/non-null-increment.ts.shot b/packages/scope-manager/tests/fixtures/type-assertion/increment/non-null-increment.ts.shot index e37ac428db14..cd96c473b19d 100644 --- a/packages/scope-manager/tests/fixtures/type-assertion/increment/non-null-increment.ts.shot +++ b/packages/scope-manager/tests/fixtures/type-assertion/increment/non-null-increment.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`type-assertion increment non-null-increment 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -58,5 +55,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/type-assertion/satisfies.ts.shot b/packages/scope-manager/tests/fixtures/type-assertion/satisfies.ts.shot index ab6a33591ac6..b71c00c996bd 100644 --- a/packages/scope-manager/tests/fixtures/type-assertion/satisfies.ts.shot +++ b/packages/scope-manager/tests/fixtures/type-assertion/satisfies.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`type-assertion satisfies 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -80,5 +77,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/type-declaration/conditional-nested.ts.shot b/packages/scope-manager/tests/fixtures/type-declaration/conditional-nested.ts.shot index b7aa0bdd0f8b..a71849e4d187 100644 --- a/packages/scope-manager/tests/fixtures/type-declaration/conditional-nested.ts.shot +++ b/packages/scope-manager/tests/fixtures/type-declaration/conditional-nested.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`type-declaration conditional-nested 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -166,5 +163,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/type-declaration/conditional1.ts.shot b/packages/scope-manager/tests/fixtures/type-declaration/conditional1.ts.shot index df10132098d2..fe421ad18c3b 100644 --- a/packages/scope-manager/tests/fixtures/type-declaration/conditional1.ts.shot +++ b/packages/scope-manager/tests/fixtures/type-declaration/conditional1.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`type-declaration conditional1 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -128,5 +125,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/type-declaration/conditional2.ts.shot b/packages/scope-manager/tests/fixtures/type-declaration/conditional2.ts.shot index 90aef395be48..e1eed2bbe39e 100644 --- a/packages/scope-manager/tests/fixtures/type-declaration/conditional2.ts.shot +++ b/packages/scope-manager/tests/fixtures/type-declaration/conditional2.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`type-declaration conditional2 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -93,5 +90,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/type-declaration/conditional3.ts.shot b/packages/scope-manager/tests/fixtures/type-declaration/conditional3.ts.shot index a624adb1d22c..c4cee6eaba9e 100644 --- a/packages/scope-manager/tests/fixtures/type-declaration/conditional3.ts.shot +++ b/packages/scope-manager/tests/fixtures/type-declaration/conditional3.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`type-declaration conditional3 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -130,5 +127,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/type-declaration/conditional4.ts.shot b/packages/scope-manager/tests/fixtures/type-declaration/conditional4.ts.shot index 3b2a1ebaa88a..7b7004dfc036 100644 --- a/packages/scope-manager/tests/fixtures/type-declaration/conditional4.ts.shot +++ b/packages/scope-manager/tests/fixtures/type-declaration/conditional4.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`type-declaration conditional4 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -105,5 +102,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/type-declaration/conditional5.ts.shot b/packages/scope-manager/tests/fixtures/type-declaration/conditional5.ts.shot index 08b5da7e154b..48326332fd7c 100644 --- a/packages/scope-manager/tests/fixtures/type-declaration/conditional5.ts.shot +++ b/packages/scope-manager/tests/fixtures/type-declaration/conditional5.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`type-declaration conditional5 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -155,5 +152,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/type-declaration/dual-type-value.ts.shot b/packages/scope-manager/tests/fixtures/type-declaration/dual-type-value.ts.shot index 2d516f1b6fbb..827e8421aec3 100644 --- a/packages/scope-manager/tests/fixtures/type-declaration/dual-type-value.ts.shot +++ b/packages/scope-manager/tests/fixtures/type-declaration/dual-type-value.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`type-declaration dual-type-value 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -109,5 +106,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/type-declaration/function/constructor-generics1.ts.shot b/packages/scope-manager/tests/fixtures/type-declaration/function/constructor-generics1.ts.shot index 4334a01a3ece..da484b737ed7 100644 --- a/packages/scope-manager/tests/fixtures/type-declaration/function/constructor-generics1.ts.shot +++ b/packages/scope-manager/tests/fixtures/type-declaration/function/constructor-generics1.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`type-declaration function constructor-generics1 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -119,5 +116,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/type-declaration/function/constructor-generics2.ts.shot b/packages/scope-manager/tests/fixtures/type-declaration/function/constructor-generics2.ts.shot index 399a1ec94a4a..c847e1d96eda 100644 --- a/packages/scope-manager/tests/fixtures/type-declaration/function/constructor-generics2.ts.shot +++ b/packages/scope-manager/tests/fixtures/type-declaration/function/constructor-generics2.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`type-declaration function constructor-generics2 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -108,5 +105,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/type-declaration/function/constructor.ts.shot b/packages/scope-manager/tests/fixtures/type-declaration/function/constructor.ts.shot index 16cd9ffbe8e4..2d5d9a0ea1c3 100644 --- a/packages/scope-manager/tests/fixtures/type-declaration/function/constructor.ts.shot +++ b/packages/scope-manager/tests/fixtures/type-declaration/function/constructor.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`type-declaration function constructor 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -93,5 +90,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/type-declaration/function/function-generics1.ts.shot b/packages/scope-manager/tests/fixtures/type-declaration/function/function-generics1.ts.shot index fc5c65c50f5f..c53c6a5fdcc5 100644 --- a/packages/scope-manager/tests/fixtures/type-declaration/function/function-generics1.ts.shot +++ b/packages/scope-manager/tests/fixtures/type-declaration/function/function-generics1.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`type-declaration function function-generics1 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -119,5 +116,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/type-declaration/function/function-generics2.ts.shot b/packages/scope-manager/tests/fixtures/type-declaration/function/function-generics2.ts.shot index 3ea537911f82..852711cf01dd 100644 --- a/packages/scope-manager/tests/fixtures/type-declaration/function/function-generics2.ts.shot +++ b/packages/scope-manager/tests/fixtures/type-declaration/function/function-generics2.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`type-declaration function function-generics2 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -108,5 +105,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/type-declaration/function/function1.ts.shot b/packages/scope-manager/tests/fixtures/type-declaration/function/function1.ts.shot index a8037422c505..7a1f9c720383 100644 --- a/packages/scope-manager/tests/fixtures/type-declaration/function/function1.ts.shot +++ b/packages/scope-manager/tests/fixtures/type-declaration/function/function1.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`type-declaration function function1 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -93,5 +90,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/type-declaration/function/function2.ts.shot b/packages/scope-manager/tests/fixtures/type-declaration/function/function2.ts.shot index ca2bd02a72f2..0a335bba3661 100644 --- a/packages/scope-manager/tests/fixtures/type-declaration/function/function2.ts.shot +++ b/packages/scope-manager/tests/fixtures/type-declaration/function/function2.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`type-declaration function function2 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -97,5 +94,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/type-declaration/function/params/array-pattern.ts.shot b/packages/scope-manager/tests/fixtures/type-declaration/function/params/array-pattern.ts.shot index 20eab71e39f4..e65cafc06cad 100644 --- a/packages/scope-manager/tests/fixtures/type-declaration/function/params/array-pattern.ts.shot +++ b/packages/scope-manager/tests/fixtures/type-declaration/function/params/array-pattern.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`type-declaration function params array-pattern 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -95,5 +92,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/type-declaration/function/params/object-pattern.ts.shot b/packages/scope-manager/tests/fixtures/type-declaration/function/params/object-pattern.ts.shot index acdf2d261abf..e65cafc06cad 100644 --- a/packages/scope-manager/tests/fixtures/type-declaration/function/params/object-pattern.ts.shot +++ b/packages/scope-manager/tests/fixtures/type-declaration/function/params/object-pattern.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`type-declaration function params object-pattern 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -95,5 +92,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/type-declaration/function/params/rest-element.ts.shot b/packages/scope-manager/tests/fixtures/type-declaration/function/params/rest-element.ts.shot index 6e0e7cf6f59c..e65cafc06cad 100644 --- a/packages/scope-manager/tests/fixtures/type-declaration/function/params/rest-element.ts.shot +++ b/packages/scope-manager/tests/fixtures/type-declaration/function/params/rest-element.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`type-declaration function params rest-element 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -95,5 +92,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/type-declaration/import-type-with-qualifier.ts.shot b/packages/scope-manager/tests/fixtures/type-declaration/import-type-with-qualifier.ts.shot index 0c99d1cf85d8..c00b27d4e785 100644 --- a/packages/scope-manager/tests/fixtures/type-declaration/import-type-with-qualifier.ts.shot +++ b/packages/scope-manager/tests/fixtures/type-declaration/import-type-with-qualifier.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`type-declaration import-type-with-qualifier 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -34,5 +31,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/type-declaration/import-type-with-type-params.ts.shot b/packages/scope-manager/tests/fixtures/type-declaration/import-type-with-type-params.ts.shot index 3ba6307d3472..06f66d2e7453 100644 --- a/packages/scope-manager/tests/fixtures/type-declaration/import-type-with-type-params.ts.shot +++ b/packages/scope-manager/tests/fixtures/type-declaration/import-type-with-type-params.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`type-declaration import-type-with-type-params 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -59,5 +56,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/type-declaration/import-type.ts.shot b/packages/scope-manager/tests/fixtures/type-declaration/import-type.ts.shot index 0e3e64f8619a..c00b27d4e785 100644 --- a/packages/scope-manager/tests/fixtures/type-declaration/import-type.ts.shot +++ b/packages/scope-manager/tests/fixtures/type-declaration/import-type.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`type-declaration import-type 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -34,5 +31,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/type-declaration/index-access1.ts.shot b/packages/scope-manager/tests/fixtures/type-declaration/index-access1.ts.shot index 8dbadad1bfa6..c712250ebd09 100644 --- a/packages/scope-manager/tests/fixtures/type-declaration/index-access1.ts.shot +++ b/packages/scope-manager/tests/fixtures/type-declaration/index-access1.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`type-declaration index-access1 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -59,5 +56,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/type-declaration/index-access2.ts.shot b/packages/scope-manager/tests/fixtures/type-declaration/index-access2.ts.shot index 5617ffcbffeb..cf446d378a40 100644 --- a/packages/scope-manager/tests/fixtures/type-declaration/index-access2.ts.shot +++ b/packages/scope-manager/tests/fixtures/type-declaration/index-access2.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`type-declaration index-access2 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -83,5 +80,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/type-declaration/index-access3.ts.shot b/packages/scope-manager/tests/fixtures/type-declaration/index-access3.ts.shot index bec2c0e1bcce..95e5ef75c6c2 100644 --- a/packages/scope-manager/tests/fixtures/type-declaration/index-access3.ts.shot +++ b/packages/scope-manager/tests/fixtures/type-declaration/index-access3.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`type-declaration index-access3 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -94,5 +91,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/type-declaration/infer-type-constraint.ts.shot b/packages/scope-manager/tests/fixtures/type-declaration/infer-type-constraint.ts.shot index d672b487b3cf..a781d39ef7b1 100644 --- a/packages/scope-manager/tests/fixtures/type-declaration/infer-type-constraint.ts.shot +++ b/packages/scope-manager/tests/fixtures/type-declaration/infer-type-constraint.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`type-declaration infer-type-constraint 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -129,5 +126,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/type-declaration/interface-heritage1.ts.shot b/packages/scope-manager/tests/fixtures/type-declaration/interface-heritage1.ts.shot index e2f4df59e13f..cd57e980ce97 100644 --- a/packages/scope-manager/tests/fixtures/type-declaration/interface-heritage1.ts.shot +++ b/packages/scope-manager/tests/fixtures/type-declaration/interface-heritage1.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`type-declaration interface-heritage1 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -59,5 +56,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/type-declaration/interface-heritage2.ts.shot b/packages/scope-manager/tests/fixtures/type-declaration/interface-heritage2.ts.shot index dc03c2ba3ed9..86b3cb8ea801 100644 --- a/packages/scope-manager/tests/fixtures/type-declaration/interface-heritage2.ts.shot +++ b/packages/scope-manager/tests/fixtures/type-declaration/interface-heritage2.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`type-declaration interface-heritage2 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -98,5 +95,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/type-declaration/interface1.ts.shot b/packages/scope-manager/tests/fixtures/type-declaration/interface1.ts.shot index eadfe45c9971..b777d5243ced 100644 --- a/packages/scope-manager/tests/fixtures/type-declaration/interface1.ts.shot +++ b/packages/scope-manager/tests/fixtures/type-declaration/interface1.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`type-declaration interface1 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -34,5 +31,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/type-declaration/interface2.ts.shot b/packages/scope-manager/tests/fixtures/type-declaration/interface2.ts.shot index 3e6de84fcc75..2544609d966d 100644 --- a/packages/scope-manager/tests/fixtures/type-declaration/interface2.ts.shot +++ b/packages/scope-manager/tests/fixtures/type-declaration/interface2.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`type-declaration interface2 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -59,5 +56,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/type-declaration/literal-type1.ts.shot b/packages/scope-manager/tests/fixtures/type-declaration/literal-type1.ts.shot index d2cfb7229749..24c18b63687e 100644 --- a/packages/scope-manager/tests/fixtures/type-declaration/literal-type1.ts.shot +++ b/packages/scope-manager/tests/fixtures/type-declaration/literal-type1.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`type-declaration literal-type1 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -83,5 +80,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/type-declaration/literal-type2.ts.shot b/packages/scope-manager/tests/fixtures/type-declaration/literal-type2.ts.shot index 0f6c95b48b9a..e518c2c7c231 100644 --- a/packages/scope-manager/tests/fixtures/type-declaration/literal-type2.ts.shot +++ b/packages/scope-manager/tests/fixtures/type-declaration/literal-type2.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`type-declaration literal-type2 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -154,5 +151,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/type-declaration/literal-type3.ts.shot b/packages/scope-manager/tests/fixtures/type-declaration/literal-type3.ts.shot index 4373d8ba55ef..15aced8c5c3e 100644 --- a/packages/scope-manager/tests/fixtures/type-declaration/literal-type3.ts.shot +++ b/packages/scope-manager/tests/fixtures/type-declaration/literal-type3.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`type-declaration literal-type3 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -117,5 +114,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/type-declaration/mapped-named-literal-no-references.ts.shot b/packages/scope-manager/tests/fixtures/type-declaration/mapped-named-literal-no-references.ts.shot index cbb18cc721b7..2440988ebb50 100644 --- a/packages/scope-manager/tests/fixtures/type-declaration/mapped-named-literal-no-references.ts.shot +++ b/packages/scope-manager/tests/fixtures/type-declaration/mapped-named-literal-no-references.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`type-declaration mapped-named-literal-no-references 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -84,5 +81,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/type-declaration/mapped-named-literal-referenced.ts.shot b/packages/scope-manager/tests/fixtures/type-declaration/mapped-named-literal-referenced.ts.shot index c1b6bd45a180..cb4a8fee6835 100644 --- a/packages/scope-manager/tests/fixtures/type-declaration/mapped-named-literal-referenced.ts.shot +++ b/packages/scope-manager/tests/fixtures/type-declaration/mapped-named-literal-referenced.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`type-declaration mapped-named-literal-referenced 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -84,5 +81,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/type-declaration/mapped-named.ts.shot b/packages/scope-manager/tests/fixtures/type-declaration/mapped-named.ts.shot index 11aa7739cb76..526c1a55b9a4 100644 --- a/packages/scope-manager/tests/fixtures/type-declaration/mapped-named.ts.shot +++ b/packages/scope-manager/tests/fixtures/type-declaration/mapped-named.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`type-declaration mapped-named 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -112,5 +109,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/type-declaration/mapped.ts.shot b/packages/scope-manager/tests/fixtures/type-declaration/mapped.ts.shot index 59aab2c5e1de..3f0c6e23cd71 100644 --- a/packages/scope-manager/tests/fixtures/type-declaration/mapped.ts.shot +++ b/packages/scope-manager/tests/fixtures/type-declaration/mapped.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`type-declaration mapped 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -103,5 +100,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/type-declaration/qualified-name.ts.shot b/packages/scope-manager/tests/fixtures/type-declaration/qualified-name.ts.shot index 0855e4812da0..c712250ebd09 100644 --- a/packages/scope-manager/tests/fixtures/type-declaration/qualified-name.ts.shot +++ b/packages/scope-manager/tests/fixtures/type-declaration/qualified-name.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`type-declaration qualified-name 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -59,5 +56,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/type-declaration/signatures/call-generics.ts.shot b/packages/scope-manager/tests/fixtures/type-declaration/signatures/call-generics.ts.shot index 96ec73574611..35c1030a99a9 100644 --- a/packages/scope-manager/tests/fixtures/type-declaration/signatures/call-generics.ts.shot +++ b/packages/scope-manager/tests/fixtures/type-declaration/signatures/call-generics.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`type-declaration signatures call-generics 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -108,5 +105,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/type-declaration/signatures/call.ts.shot b/packages/scope-manager/tests/fixtures/type-declaration/signatures/call.ts.shot index be3f7b0b6907..840be2e0df5b 100644 --- a/packages/scope-manager/tests/fixtures/type-declaration/signatures/call.ts.shot +++ b/packages/scope-manager/tests/fixtures/type-declaration/signatures/call.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`type-declaration signatures call 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -93,5 +90,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/type-declaration/signatures/construct-generics.ts.shot b/packages/scope-manager/tests/fixtures/type-declaration/signatures/construct-generics.ts.shot index 78638ed606bc..8758128b9b0d 100644 --- a/packages/scope-manager/tests/fixtures/type-declaration/signatures/construct-generics.ts.shot +++ b/packages/scope-manager/tests/fixtures/type-declaration/signatures/construct-generics.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`type-declaration signatures construct-generics 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -108,5 +105,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/type-declaration/signatures/construct.ts.shot b/packages/scope-manager/tests/fixtures/type-declaration/signatures/construct.ts.shot index 0d69334505c5..4d505ea05c04 100644 --- a/packages/scope-manager/tests/fixtures/type-declaration/signatures/construct.ts.shot +++ b/packages/scope-manager/tests/fixtures/type-declaration/signatures/construct.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`type-declaration signatures construct 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -93,5 +90,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/type-declaration/signatures/index-sig.ts.shot b/packages/scope-manager/tests/fixtures/type-declaration/signatures/index-sig.ts.shot index ff80fb6b99fd..c712250ebd09 100644 --- a/packages/scope-manager/tests/fixtures/type-declaration/signatures/index-sig.ts.shot +++ b/packages/scope-manager/tests/fixtures/type-declaration/signatures/index-sig.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`type-declaration signatures index-sig 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -59,5 +56,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/type-declaration/signatures/method-computed-name.ts.shot b/packages/scope-manager/tests/fixtures/type-declaration/signatures/method-computed-name.ts.shot index aeee5e2de4c4..06ba579a190d 100644 --- a/packages/scope-manager/tests/fixtures/type-declaration/signatures/method-computed-name.ts.shot +++ b/packages/scope-manager/tests/fixtures/type-declaration/signatures/method-computed-name.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`type-declaration signatures method-computed-name 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -129,5 +126,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/type-declaration/signatures/method-computed-name2.ts.shot b/packages/scope-manager/tests/fixtures/type-declaration/signatures/method-computed-name2.ts.shot index b74e711bd4a0..b54e18d27a87 100644 --- a/packages/scope-manager/tests/fixtures/type-declaration/signatures/method-computed-name2.ts.shot +++ b/packages/scope-manager/tests/fixtures/type-declaration/signatures/method-computed-name2.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`type-declaration signatures method-computed-name2 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -93,5 +90,4 @@ ScopeManager { variables: [], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/type-declaration/signatures/method-generics.ts.shot b/packages/scope-manager/tests/fixtures/type-declaration/signatures/method-generics.ts.shot index a44a42784bbf..a31ed8222156 100644 --- a/packages/scope-manager/tests/fixtures/type-declaration/signatures/method-generics.ts.shot +++ b/packages/scope-manager/tests/fixtures/type-declaration/signatures/method-generics.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`type-declaration signatures method-generics 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -108,5 +105,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/type-declaration/signatures/method.ts.shot b/packages/scope-manager/tests/fixtures/type-declaration/signatures/method.ts.shot index bf75b61acfce..4ed2aa6584be 100644 --- a/packages/scope-manager/tests/fixtures/type-declaration/signatures/method.ts.shot +++ b/packages/scope-manager/tests/fixtures/type-declaration/signatures/method.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`type-declaration signatures method 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -93,5 +90,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/type-declaration/signatures/property-computed-name.ts.shot b/packages/scope-manager/tests/fixtures/type-declaration/signatures/property-computed-name.ts.shot index 1b92c06221a5..26d7932acf20 100644 --- a/packages/scope-manager/tests/fixtures/type-declaration/signatures/property-computed-name.ts.shot +++ b/packages/scope-manager/tests/fixtures/type-declaration/signatures/property-computed-name.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`type-declaration signatures property-computed-name 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -94,5 +91,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/type-declaration/signatures/property-computed-name2.ts.shot b/packages/scope-manager/tests/fixtures/type-declaration/signatures/property-computed-name2.ts.shot index b52012160ac1..cf22f525c996 100644 --- a/packages/scope-manager/tests/fixtures/type-declaration/signatures/property-computed-name2.ts.shot +++ b/packages/scope-manager/tests/fixtures/type-declaration/signatures/property-computed-name2.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`type-declaration signatures property-computed-name2 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -84,5 +81,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/type-declaration/signatures/property.ts.shot b/packages/scope-manager/tests/fixtures/type-declaration/signatures/property.ts.shot index 829833d91f34..c712250ebd09 100644 --- a/packages/scope-manager/tests/fixtures/type-declaration/signatures/property.ts.shot +++ b/packages/scope-manager/tests/fixtures/type-declaration/signatures/property.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`type-declaration signatures property 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -59,5 +56,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/type-declaration/tuple-labelled-rest.ts.shot b/packages/scope-manager/tests/fixtures/type-declaration/tuple-labelled-rest.ts.shot index abce7f1cdba0..c712250ebd09 100644 --- a/packages/scope-manager/tests/fixtures/type-declaration/tuple-labelled-rest.ts.shot +++ b/packages/scope-manager/tests/fixtures/type-declaration/tuple-labelled-rest.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`type-declaration tuple-labelled-rest 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -59,5 +56,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/type-declaration/tuple-labelled.ts.shot b/packages/scope-manager/tests/fixtures/type-declaration/tuple-labelled.ts.shot index 102897b0396c..c46ccf14c363 100644 --- a/packages/scope-manager/tests/fixtures/type-declaration/tuple-labelled.ts.shot +++ b/packages/scope-manager/tests/fixtures/type-declaration/tuple-labelled.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`type-declaration tuple-labelled 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -83,5 +80,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/type-declaration/tuple-rest.ts.shot b/packages/scope-manager/tests/fixtures/type-declaration/tuple-rest.ts.shot index c3732169aa24..c712250ebd09 100644 --- a/packages/scope-manager/tests/fixtures/type-declaration/tuple-rest.ts.shot +++ b/packages/scope-manager/tests/fixtures/type-declaration/tuple-rest.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`type-declaration tuple-rest 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -59,5 +56,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/type-declaration/tuple.ts.shot b/packages/scope-manager/tests/fixtures/type-declaration/tuple.ts.shot index 2d26e0b471cb..c712250ebd09 100644 --- a/packages/scope-manager/tests/fixtures/type-declaration/tuple.ts.shot +++ b/packages/scope-manager/tests/fixtures/type-declaration/tuple.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`type-declaration tuple 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -59,5 +56,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/type-declaration/type-parameters/interface/body-reference.ts.shot b/packages/scope-manager/tests/fixtures/type-declaration/type-parameters/interface/body-reference.ts.shot index 356315c6a245..95a2fe6ce312 100644 --- a/packages/scope-manager/tests/fixtures/type-declaration/type-parameters/interface/body-reference.ts.shot +++ b/packages/scope-manager/tests/fixtures/type-declaration/type-parameters/interface/body-reference.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`type-declaration type-parameters interface body-reference 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -70,5 +67,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/type-declaration/type-parameters/interface/extends-reference.ts.shot b/packages/scope-manager/tests/fixtures/type-declaration/type-parameters/interface/extends-reference.ts.shot index 6f43d86383b2..3b45a1bf6bf6 100644 --- a/packages/scope-manager/tests/fixtures/type-declaration/type-parameters/interface/extends-reference.ts.shot +++ b/packages/scope-manager/tests/fixtures/type-declaration/type-parameters/interface/extends-reference.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`type-declaration type-parameters interface extends-reference 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -119,5 +116,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/type-declaration/type-parameters/interface/type-param-reference.ts.shot b/packages/scope-manager/tests/fixtures/type-declaration/type-parameters/interface/type-param-reference.ts.shot index b1a40eba7066..7f7324d485b4 100644 --- a/packages/scope-manager/tests/fixtures/type-declaration/type-parameters/interface/type-param-reference.ts.shot +++ b/packages/scope-manager/tests/fixtures/type-declaration/type-parameters/interface/type-param-reference.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`type-declaration type-parameters interface type-param-reference 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -84,5 +81,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/type-declaration/type-parameters/interface/type-parameter-declaration-extends.ts.shot b/packages/scope-manager/tests/fixtures/type-declaration/type-parameters/interface/type-parameter-declaration-extends.ts.shot index 36b1f89ffaee..7f7324d485b4 100644 --- a/packages/scope-manager/tests/fixtures/type-declaration/type-parameters/interface/type-parameter-declaration-extends.ts.shot +++ b/packages/scope-manager/tests/fixtures/type-declaration/type-parameters/interface/type-parameter-declaration-extends.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`type-declaration type-parameters interface type-parameter-declaration-extends 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -84,5 +81,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/type-declaration/type-parameters/interface/type-parameter-declaration.ts.shot b/packages/scope-manager/tests/fixtures/type-declaration/type-parameters/interface/type-parameter-declaration.ts.shot index da9d1a792bad..caecac8edec2 100644 --- a/packages/scope-manager/tests/fixtures/type-declaration/type-parameters/interface/type-parameter-declaration.ts.shot +++ b/packages/scope-manager/tests/fixtures/type-declaration/type-parameters/interface/type-parameter-declaration.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`type-declaration type-parameters interface type-parameter-declaration 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -82,5 +79,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/type-declaration/type-parameters/tagged-template.ts.shot b/packages/scope-manager/tests/fixtures/type-declaration/type-parameters/tagged-template.ts.shot index 3b61814020f3..70f5c665e767 100644 --- a/packages/scope-manager/tests/fixtures/type-declaration/type-parameters/tagged-template.ts.shot +++ b/packages/scope-manager/tests/fixtures/type-declaration/type-parameters/tagged-template.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`type-declaration type-parameters tagged-template 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -143,5 +140,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/type-declaration/type-parameters/type-decl/body-reference.ts.shot b/packages/scope-manager/tests/fixtures/type-declaration/type-parameters/type-decl/body-reference.ts.shot index e818da88a46d..27dc01d1889c 100644 --- a/packages/scope-manager/tests/fixtures/type-declaration/type-parameters/type-decl/body-reference.ts.shot +++ b/packages/scope-manager/tests/fixtures/type-declaration/type-parameters/type-decl/body-reference.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`type-declaration type-parameters type-decl body-reference 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -70,5 +67,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/type-declaration/type-parameters/type-decl/type-param-reference.ts.shot b/packages/scope-manager/tests/fixtures/type-declaration/type-parameters/type-decl/type-param-reference.ts.shot index 00b76086d50d..42cda45bb1cc 100644 --- a/packages/scope-manager/tests/fixtures/type-declaration/type-parameters/type-decl/type-param-reference.ts.shot +++ b/packages/scope-manager/tests/fixtures/type-declaration/type-parameters/type-decl/type-param-reference.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`type-declaration type-parameters type-decl type-param-reference 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -84,5 +81,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/type-declaration/type-parameters/type-decl/type-parameter-declaration-extends.ts.shot b/packages/scope-manager/tests/fixtures/type-declaration/type-parameters/type-decl/type-parameter-declaration-extends.ts.shot index 60f31e847440..42cda45bb1cc 100644 --- a/packages/scope-manager/tests/fixtures/type-declaration/type-parameters/type-decl/type-parameter-declaration-extends.ts.shot +++ b/packages/scope-manager/tests/fixtures/type-declaration/type-parameters/type-decl/type-parameter-declaration-extends.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`type-declaration type-parameters type-decl type-parameter-declaration-extends 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -84,5 +81,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/type-declaration/type-parameters/type-decl/type-parameter-declaration.ts.shot b/packages/scope-manager/tests/fixtures/type-declaration/type-parameters/type-decl/type-parameter-declaration.ts.shot index c145e8030e20..e23b49dcf8af 100644 --- a/packages/scope-manager/tests/fixtures/type-declaration/type-parameters/type-decl/type-parameter-declaration.ts.shot +++ b/packages/scope-manager/tests/fixtures/type-declaration/type-parameters/type-decl/type-parameter-declaration.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`type-declaration type-parameters type-decl type-parameter-declaration 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -82,5 +79,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/type-declaration/type-query-qualified.ts.shot b/packages/scope-manager/tests/fixtures/type-declaration/type-query-qualified.ts.shot index 236687c48f79..5583be91e637 100644 --- a/packages/scope-manager/tests/fixtures/type-declaration/type-query-qualified.ts.shot +++ b/packages/scope-manager/tests/fixtures/type-declaration/type-query-qualified.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`type-declaration type-query-qualified 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -92,5 +89,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/type-declaration/type-query-with-parameters.ts.shot b/packages/scope-manager/tests/fixtures/type-declaration/type-query-with-parameters.ts.shot index 4262287277ac..0231ce8d316f 100644 --- a/packages/scope-manager/tests/fixtures/type-declaration/type-query-with-parameters.ts.shot +++ b/packages/scope-manager/tests/fixtures/type-declaration/type-query-with-parameters.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`type-declaration type-query-with-parameters 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -163,5 +160,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/type-declaration/type-query.ts.shot b/packages/scope-manager/tests/fixtures/type-declaration/type-query.ts.shot index 74e00a2fe0c7..85eb1e0245fe 100644 --- a/packages/scope-manager/tests/fixtures/type-declaration/type-query.ts.shot +++ b/packages/scope-manager/tests/fixtures/type-declaration/type-query.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`type-declaration type-query 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -92,5 +89,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/type-declaration/type1.ts.shot b/packages/scope-manager/tests/fixtures/type-declaration/type1.ts.shot index 09d59996c0f6..c00b27d4e785 100644 --- a/packages/scope-manager/tests/fixtures/type-declaration/type1.ts.shot +++ b/packages/scope-manager/tests/fixtures/type-declaration/type1.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`type-declaration type1 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -34,5 +31,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/type-declaration/type2.ts.shot b/packages/scope-manager/tests/fixtures/type-declaration/type2.ts.shot index 71ed9baf9f90..e1093d5baeba 100644 --- a/packages/scope-manager/tests/fixtures/type-declaration/type2.ts.shot +++ b/packages/scope-manager/tests/fixtures/type-declaration/type2.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`type-declaration type2 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -59,5 +56,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/type-declaration/type3.ts.shot b/packages/scope-manager/tests/fixtures/type-declaration/type3.ts.shot index a8a2bada8a58..c712250ebd09 100644 --- a/packages/scope-manager/tests/fixtures/type-declaration/type3.ts.shot +++ b/packages/scope-manager/tests/fixtures/type-declaration/type3.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`type-declaration type3 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -59,5 +56,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/fixtures/type-declaration/typeof-import-type-with-qualifier.ts.shot b/packages/scope-manager/tests/fixtures/type-declaration/typeof-import-type-with-qualifier.ts.shot index 0be95e24b509..c00b27d4e785 100644 --- a/packages/scope-manager/tests/fixtures/type-declaration/typeof-import-type-with-qualifier.ts.shot +++ b/packages/scope-manager/tests/fixtures/type-declaration/typeof-import-type-with-qualifier.ts.shot @@ -1,6 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`type-declaration typeof-import-type-with-qualifier 1`] = ` ScopeManager { variables: [ ImplicitGlobalConstTypeVariable, @@ -34,5 +31,4 @@ ScopeManager { ], }, ], -} -`; +} \ No newline at end of file diff --git a/packages/scope-manager/tests/test-utils/serializers/index.ts b/packages/scope-manager/tests/test-utils/serializers/index.ts index b59683d3359b..215323b833ae 100644 --- a/packages/scope-manager/tests/test-utils/serializers/index.ts +++ b/packages/scope-manager/tests/test-utils/serializers/index.ts @@ -1,5 +1,3 @@ -import { addSerializer } from 'jest-specific-snapshot'; - import { resetIds } from '../../../src/ID'; import * as DefinitionBase from './DefinitionBase'; import * as Reference from './Reference'; @@ -19,9 +17,7 @@ const serializers = [ ]; for (const serializer of serializers) { - // the jest types are wrong here expect.addSnapshotSerializer(serializer); - addSerializer(serializer); } // make sure the snapshots are isolated from one another diff --git a/packages/scope-manager/tsconfig.build.json b/packages/scope-manager/tsconfig.build.json index 9e0ad68bbda8..d1cdaee2a5c2 100644 --- a/packages/scope-manager/tsconfig.build.json +++ b/packages/scope-manager/tsconfig.build.json @@ -9,7 +9,7 @@ "types": ["node"] }, "include": ["src/**/*.ts"], - "exclude": ["jest.config.js", "src/**/*.spec.ts", "src/**/*.test.ts"], + "exclude": ["vitest.config.mts", "src/**/*.spec.ts", "src/**/*.test.ts"], "references": [ { "path": "../visitor-keys/tsconfig.build.json" diff --git a/packages/scope-manager/tsconfig.spec.json b/packages/scope-manager/tsconfig.spec.json index 1213593ceeb8..672e3e21a702 100644 --- a/packages/scope-manager/tsconfig.spec.json +++ b/packages/scope-manager/tsconfig.spec.json @@ -3,10 +3,12 @@ "compilerOptions": { "outDir": "../../dist/out-tsc/packages/scope-manager", "module": "NodeNext", - "types": ["jest", "node"] + "resolveJsonModule": true, + "types": ["node", "vitest/globals", "vitest/importMeta"] }, "include": [ - "jest.config.js", + "vitest.config.mts", + "package.json", "src/**/*.test.ts", "src/**/*.spec.ts", "src/**/*.d.ts", @@ -16,6 +18,9 @@ "references": [ { "path": "./tsconfig.build.json" + }, + { + "path": "../../tsconfig.spec.json" } ] } diff --git a/packages/scope-manager/vitest.config.mts b/packages/scope-manager/vitest.config.mts new file mode 100644 index 000000000000..98c071a5c030 --- /dev/null +++ b/packages/scope-manager/vitest.config.mts @@ -0,0 +1,22 @@ +import * as path from 'node:path'; +import { defineProject, mergeConfig } from 'vitest/config'; + +import { vitestBaseConfig } from '../../vitest.config.base.mjs'; +import packageJson from './package.json' with { type: 'json' }; + +const vitestConfig = mergeConfig( + vitestBaseConfig, + + defineProject({ + root: import.meta.dirname, + + test: { + dir: path.join(import.meta.dirname, 'tests'), + name: packageJson.name.replace('@typescript-eslint/', ''), + root: import.meta.dirname, + setupFiles: ['./tests/test-utils/serializers/index.ts'], + }, + }), +); + +export default vitestConfig; diff --git a/yarn.lock b/yarn.lock index 2d88c4602d34..26f7dd0e73c5 100644 --- a/yarn.lock +++ b/yarn.lock @@ -6134,17 +6134,15 @@ __metadata: version: 0.0.0-use.local resolution: "@typescript-eslint/scope-manager@workspace:packages/scope-manager" dependencies: - "@jest/types": 29.6.3 "@typescript-eslint/types": 8.29.1 "@typescript-eslint/typescript-estree": 8.29.1 "@typescript-eslint/visitor-keys": 8.29.1 + "@vitest/coverage-v8": ^3.1.1 glob: "*" - jest: 29.7.0 - jest-specific-snapshot: "*" - make-dir: "*" prettier: ^3.2.5 pretty-format: "*" typescript: "*" + vitest: ^3.1.1 languageName: unknown linkType: soft @@ -13647,7 +13645,7 @@ __metadata: languageName: node linkType: hard -"jest-specific-snapshot@npm:*, jest-specific-snapshot@npm:^8.0.0": +"jest-specific-snapshot@npm:^8.0.0": version: 8.0.0 resolution: "jest-specific-snapshot@npm:8.0.0" dependencies: pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy