From 080a67be1673f46425b89deee149aea7b65255dd Mon Sep 17 00:00:00 2001 From: Boshen <1430279+Boshen@users.noreply.github.com> Date: Mon, 11 Nov 2024 08:13:13 +0000 Subject: [PATCH] test(semantic): semantic checker store conformance pass/fail info in a separate file (#7235) closes #6069 --- .../oxc/assignment/nested-assignment.snap | 11 +--- .../tests/fixtures/oxc/jsx/element-name.snap | 11 +--- .../fixtures/oxc/jsx/member-expression.snap | 11 +--- .../signatures/property-with-type-import.snap | 11 +--- .../block/inherited-scope.snap | 11 +--- .../typescript-eslint/block/scope.snap | 11 +--- .../call-expression/call-expression.snap | 11 +--- .../call-expression/type-parameters1.snap | 11 +--- .../call-expression/type-parameters2.snap | 11 +--- .../catch/inherited-scope.snap | 11 +--- .../typescript-eslint/catch/scope.snap | 11 +--- .../abstract-accessor-property.snap | 11 +--- .../class/declaration/abstract-property.snap | 11 +--- .../class/declaration/abstract.snap | 11 +--- .../accessor-property-type-annotation.snap | 11 +--- .../class/declaration/accessor-property.snap | 11 +--- .../class/declaration/computed-member.snap | 11 +--- .../class/declaration/extends-generic.snap | 11 +--- .../class/declaration/extends.snap | 11 +--- .../declaration/generic-ref-extends.snap | 11 +--- .../declaration/generic-ref-implements.snap | 11 +--- .../class/declaration/generic.snap | 11 +--- .../class/declaration/implements-generic.snap | 11 +--- .../class/declaration/implements.snap | 11 +--- .../class/declaration/index-signature.snap | 11 +--- .../declaration/method-param-default.snap | 11 +--- .../class/declaration/method.snap | 11 +--- .../class/declaration/new.snap | 11 +--- .../declaration/parameter-properties.snap | 11 +--- .../class/declaration/private-identifier.snap | 11 +--- .../properties-type-annotation.snap | 11 +--- .../class/declaration/properties.snap | 11 +--- .../class/declaration/static-block.snap | 11 +--- .../declaration/static-external-ref.snap | 11 +--- .../declaration/static-with-constructor.snap | 11 +--- .../class/declaration/type-reference.snap | 11 +--- .../class/expression/computed-member.snap | 11 +--- .../class/expression/extends.snap | 11 +--- .../class/expression/method.snap | 11 +--- .../class/expression/new.snap | 11 +--- .../expression/parameter-properties.snap | 11 +--- .../class/expression/private-identifier.snap | 11 +--- .../class/expression/properties.snap | 11 +--- .../expression/self-reference-super.snap | 11 +--- .../decorators/accessor.snap | 11 +--- .../class-deco-with-object-param.snap | 11 +--- .../decorators/class-property.snap | 11 +--- .../typescript-eslint/decorators/class.snap | 11 +--- .../typescript-eslint/decorators/method.snap | 11 +--- .../decorators/parameter-property.snap | 11 +--- .../decorators/parameter.snap | 11 +--- .../decorators/typeof-this.snap | 11 +--- .../destructuring/array-assignment.snap | 11 +--- .../destructuring/array.snap | 11 +--- .../destructuring/object-assignment.snap | 11 +--- .../destructuring/object.snap | 11 +--- .../typescript-eslint/export/all.snap | 11 +--- .../export/default-type.snap | 11 +--- .../typescript-eslint/export/default1.snap | 11 +--- .../typescript-eslint/export/default2.snap | 11 +--- .../typescript-eslint/export/default3.snap | 11 +--- .../typescript-eslint/export/default4.snap | 11 +--- .../typescript-eslint/export/equals1.snap | 11 +--- .../typescript-eslint/export/equals2.snap | 11 +--- .../export/equals3-type.snap | 11 +--- .../export/equals4-type.snap | 11 +--- .../typescript-eslint/export/named-dual.snap | 11 +--- .../export/named-source1.snap | 11 +--- .../export/named-source2.snap | 11 +--- .../typescript-eslint/export/named-type1.snap | 11 +--- .../typescript-eslint/export/named1.snap | 11 +--- .../typescript-eslint/export/named2-type.snap | 11 +--- .../typescript-eslint/export/named2.snap | 11 +--- .../typescript-eslint/export/named3-type.snap | 11 +--- .../typescript-eslint/export/named3.snap | 11 +--- .../typescript-eslint/export/type-inline.snap | 11 +--- .../typescript-eslint/export/type.snap | 11 +--- .../readable-ref-body-shadow.snap | 11 +--- .../default-params/readable-ref-const.snap | 11 +--- .../default-params/readable-ref-let.snap | 11 +--- .../readable-ref-nested-body-shadow.snap | 11 +--- .../default-params/readable-ref-nested.snap | 11 +--- .../readable-ref-param-shadow.snap | 11 +--- .../default-params/readable-ref-partial.snap | 11 +--- .../arrow/default-params/writable-ref.snap | 11 +--- .../functions/arrow/inherited-scope.snap | 11 +--- .../functions/arrow/no-body.snap | 11 +--- .../functions/arrow/params.snap | 11 +--- .../functions/arrow/scope.snap | 11 +--- .../arrow/type-parameters/body-reference.snap | 11 +--- .../type-parameters/param-reference.snap | 11 +--- .../return-value-reference.snap | 11 +--- .../type-parameters/type-param-reference.snap | 11 +--- .../type-parameter-declaration.snap | 11 +--- .../arrow/type-predicate-asserts1.snap | 11 +--- .../arrow/type-predicate-asserts2.snap | 11 +--- .../functions/arrow/type-predicate1.snap | 11 +--- .../functions/arrow/type-predicate2.snap | 11 +--- .../readable-ref-body-shadow.snap | 11 +--- .../default-params/readable-ref-const.snap | 11 +--- .../default-params/readable-ref-let.snap | 11 +--- .../readable-ref-nested-body-shadow.snap | 11 +--- .../default-params/readable-ref-nested.snap | 11 +--- .../readable-ref-param-shadow.snap | 11 +--- .../default-params/readable-ref-partial.snap | 11 +--- .../default-params/writable-ref.snap | 11 +--- .../function-declaration/inherited-scope.snap | 11 +--- .../name-shadowed-in-body.snap | 11 +--- .../function-declaration/overload.snap | 11 +--- .../function-declaration/params.snap | 11 +--- .../functions/function-declaration/scope.snap | 11 +--- .../type-parameters/body-reference.snap | 11 +--- .../type-parameters/param-reference.snap | 11 +--- .../return-value-reference.snap | 11 +--- .../type-parameters/type-param-reference.snap | 11 +--- .../type-parameter-declaration.snap | 11 +--- .../type-predicate-asserts1.snap | 11 +--- .../type-predicate-asserts2.snap | 11 +--- .../function-declaration/type-predicate1.snap | 11 +--- .../function-declaration/type-predicate2.snap | 11 +--- .../function-expression/anonymous.snap | 11 +--- .../readable-ref-body-shadow.snap | 11 +--- .../default-params/readable-ref-const.snap | 11 +--- .../default-params/readable-ref-let.snap | 11 +--- .../readable-ref-nested-body-shadow.snap | 11 +--- .../default-params/readable-ref-nested.snap | 11 +--- .../readable-ref-param-shadow.snap | 11 +--- .../default-params/readable-ref-partial.snap | 11 +--- .../default-params/writable-ref.snap | 11 +--- .../function-expression/inherited-scope.snap | 11 +--- .../functions/function-expression/params.snap | 11 +--- .../functions/function-expression/scope.snap | 11 +--- .../type-parameters/body-reference.snap | 11 +--- .../type-parameters/param-reference.snap | 11 +--- .../return-value-reference.snap | 11 +--- .../type-parameters/type-param-reference.snap | 11 +--- .../type-parameter-declaration.snap | 11 +--- .../type-predicate-asserts1.snap | 11 +--- .../type-predicate-asserts2.snap | 11 +--- .../function-expression/type-predicate1.snap | 11 +--- .../function-expression/type-predicate2.snap | 11 +--- .../global-resolution/module/class.snap | 11 +--- .../global-resolution/module/function.snap | 11 +--- .../module/variable-decl-const.snap | 11 +--- .../module/variable-decl-let.snap | 11 +--- .../module/variable-decl-var.snap | 11 +--- .../global-resolution/script/class.snap | 11 +--- .../global-resolution/script/function.snap | 11 +--- .../script/variable-decl-const.snap | 11 +--- .../script/variable-decl-let.snap | 11 +--- .../script/variable-decl-var.snap | 11 +--- .../typescript-eslint/implicit/implicit1.snap | 11 +--- .../typescript-eslint/import/default.snap | 11 +--- .../typescript-eslint/import/equals1.snap | 11 +--- .../typescript-eslint/import/equals2.snap | 11 +--- .../typescript-eslint/import/named-alias.snap | 11 +--- .../typescript-eslint/import/named.snap | 11 +--- .../typescript-eslint/import/namespace.snap | 11 +--- .../import/type-default-value.snap | 11 +--- .../import/type-default.snap | 11 +--- .../import/type-inline-value.snap | 11 +--- .../typescript-eslint/import/type-inline.snap | 11 +--- .../import/type-named-value.snap | 11 +--- .../typescript-eslint/import/type-named.snap | 11 +--- .../type-arguments1.snap | 11 +--- .../type-arguments2.snap | 11 +--- .../jsx/attribute-spread.snap | 11 +--- .../typescript-eslint/jsx/attribute.snap | 11 +--- .../typescript-eslint/jsx/children.snap | 11 +--- .../jsx/component-intrinsic-name.snap | 11 +--- .../jsx/component-namespaced1.snap | 11 +--- .../jsx/component-namespaced2.snap | 11 +--- .../typescript-eslint/jsx/component.snap | 11 +--- .../jsx/factory/default-jsxFragmentName.snap | 11 +--- .../factory/default-jsxPragma-fragment.snap | 11 +--- .../jsx/factory/default-jsxPragma.snap | 11 +--- .../jsx/factory/jsxFragmentName.snap | 11 +--- .../factory/jsxPragma-jsxFragmentName.snap | 11 +--- .../jsx/factory/jsxPragma.snap | 11 +--- .../jsx/fragment-children.snap | 11 +--- .../typescript-eslint/jsx/fragment.snap | 11 +--- .../jsx/generic-type-param.snap | 11 +--- .../jsx/namespaced-attribute.snap | 11 +--- .../fixtures/typescript-eslint/jsx/text.snap | 11 +--- .../jsx/this-jsxidentifier.snap | 11 +--- .../member-expression/member-expression.snap | 11 +--- .../new-expression/new-expression.snap | 11 +--- .../new-expression/type-parameters1.snap | 11 +--- .../new-expression/type-parameters2.snap | 11 +--- .../ts-enum/external-ref.snap | 11 +--- .../ts-enum/literal-member-ref.snap | 11 +--- .../ts-enum/literal-member.snap | 11 +--- .../typescript-eslint/ts-enum/member-ref.snap | 11 +--- .../typescript-eslint/ts-enum/scope.snap | 11 +--- .../typescript-eslint/ts-enum/self-ref.snap | 11 +--- .../declaration-merging/class-namespace.snap | 11 +--- .../function-namespace.snap | 11 +--- .../namespace-variable.snap | 11 +--- .../ts-module/external-ref.snap | 11 +--- .../ts-module/global-augmentation.snap | 11 +--- .../typescript-eslint/ts-module/import.snap | 11 +--- .../ts-module/name-shadowed-in-body.snap | 11 +--- .../ts-module/namespace.snap | 11 +--- .../typescript-eslint/ts-module/scope.snap | 11 +--- .../typescript-eslint/ts-module/self-ref.snap | 11 +--- .../parameter-array-destructure.snap | 11 +--- .../type-annotation/parameter-default.snap | 11 +--- .../parameter-object-destructure.snap | 11 +--- .../type-annotation/parameter-rest.snap | 11 +--- .../type-annotation/parameter.snap | 11 +--- .../variable-array-destructure.snap | 11 +--- .../type-annotation/variable-const.snap | 11 +--- .../type-annotation/variable-let.snap | 11 +--- .../variable-object-destructure.snap | 11 +--- .../type-annotation/variable-var.snap | 11 +--- .../type-assertion/angle-bracket.snap | 11 +--- .../typescript-eslint/type-assertion/as.snap | 11 +--- .../assignment/angle-bracket-assignment.snap | 11 +--- .../assignment/as-assignment.snap | 11 +--- .../assignment/non-null-assignment.snap | 11 +--- .../type-assertion/satisfies.snap | 11 +--- .../type-declaration/conditional-nested.snap | 11 +--- .../type-declaration/conditional1.snap | 11 +--- .../type-declaration/conditional2.snap | 11 +--- .../type-declaration/conditional3.snap | 11 +--- .../type-declaration/conditional4.snap | 11 +--- .../type-declaration/conditional5.snap | 11 +--- .../type-declaration/dual-type-value.snap | 11 +--- .../function/constructor-generics1.snap | 11 +--- .../function/constructor-generics2.snap | 11 +--- .../function/constructor.snap | 11 +--- .../function/function-generics1.snap | 11 +--- .../function/function-generics2.snap | 11 +--- .../type-declaration/function/function1.snap | 11 +--- .../type-declaration/function/function2.snap | 11 +--- .../function/params/array-pattern.snap | 11 +--- .../function/params/object-pattern.snap | 11 +--- .../function/params/rest-element.snap | 11 +--- .../import-type-with-qualifier.snap | 11 +--- .../import-type-with-type-params.snap | 11 +--- .../type-declaration/import-type.snap | 11 +--- .../type-declaration/index-access1.snap | 11 +--- .../type-declaration/index-access2.snap | 11 +--- .../type-declaration/index-access3.snap | 11 +--- .../infer-type-constraint.snap | 11 +--- .../type-declaration/interface-heritage1.snap | 11 +--- .../type-declaration/interface-heritage2.snap | 11 +--- .../type-declaration/interface1.snap | 11 +--- .../type-declaration/interface2.snap | 11 +--- .../type-declaration/literal-type1.snap | 11 +--- .../type-declaration/literal-type2.snap | 11 +--- .../type-declaration/literal-type3.snap | 11 +--- .../type-declaration/mapped-named.snap | 11 +--- .../type-declaration/mapped.snap | 11 +--- .../type-declaration/qualified-name.snap | 11 +--- .../signatures/call-generics.snap | 11 +--- .../type-declaration/signatures/call.snap | 11 +--- .../signatures/construct-generics.snap | 11 +--- .../signatures/construct.snap | 11 +--- .../signatures/index-sig.snap | 11 +--- .../signatures/method-computed-name.snap | 11 +--- .../signatures/method-computed-name2.snap | 11 +--- .../signatures/method-generics.snap | 11 +--- .../type-declaration/signatures/method.snap | 11 +--- .../signatures/property-computed-name.snap | 11 +--- .../signatures/property-computed-name2.snap | 11 +--- .../type-declaration/signatures/property.snap | 11 +--- .../type-declaration/tuple-labelled-rest.snap | 11 +--- .../type-declaration/tuple-labelled.snap | 11 +--- .../type-declaration/tuple-rest.snap | 11 +--- .../type-declaration/tuple.snap | 11 +--- .../interface/body-reference.snap | 11 +--- .../interface/extends-reference.snap | 11 +--- .../interface/type-param-reference.snap | 11 +--- .../type-parameter-declaration-extends.snap | 11 +--- .../interface/type-parameter-declaration.snap | 11 +--- .../type-parameters/tagged-template.snap | 11 +--- .../type-decl/body-reference.snap | 11 +--- .../type-decl/type-param-reference.snap | 11 +--- .../type-parameter-declaration-extends.snap | 11 +--- .../type-decl/type-parameter-declaration.snap | 11 +--- .../type-query-qualified.snap | 11 +--- .../type-query-with-parameters.snap | 11 +--- .../type-declaration/type-query.snap | 11 +--- .../type-declaration/type1.snap | 11 +--- .../type-declaration/type2.snap | 11 +--- .../type-declaration/type3.snap | 11 +--- .../typeof-import-type-with-qualifier.snap | 11 +--- crates/oxc_semantic/tests/main.rs | 50 +++++++------------ 289 files changed, 306 insertions(+), 2912 deletions(-) diff --git a/crates/oxc_semantic/tests/fixtures/oxc/assignment/nested-assignment.snap b/crates/oxc_semantic/tests/fixtures/oxc/assignment/nested-assignment.snap index 04ed62d881072..1a607174b1f1c 100644 --- a/crates/oxc_semantic/tests/fixtures/oxc/assignment/nested-assignment.snap +++ b/crates/oxc_semantic/tests/fixtures/oxc/assignment/nested-assignment.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/oxc/assignment/nested-assignment.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [], @@ -42,9 +39,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/oxc/jsx/element-name.snap b/crates/oxc_semantic/tests/fixtures/oxc/jsx/element-name.snap index 81c40bc89f085..2091acf0ccda3 100644 --- a/crates/oxc_semantic/tests/fixtures/oxc/jsx/element-name.snap +++ b/crates/oxc_semantic/tests/fixtures/oxc/jsx/element-name.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/oxc/jsx/element-name.jsx +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -44,9 +41,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/oxc/jsx/member-expression.snap b/crates/oxc_semantic/tests/fixtures/oxc/jsx/member-expression.snap index e36d755f634ea..5e76cba6d8e02 100644 --- a/crates/oxc_semantic/tests/fixtures/oxc/jsx/member-expression.snap +++ b/crates/oxc_semantic/tests/fixtures/oxc/jsx/member-expression.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/oxc/jsx/member-expression.jsx +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [], @@ -36,9 +33,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/oxc/type-declarations/signatures/property-with-type-import.snap b/crates/oxc_semantic/tests/fixtures/oxc/type-declarations/signatures/property-with-type-import.snap index 591738e8d5722..474ff33a8f848 100644 --- a/crates/oxc_semantic/tests/fixtures/oxc/type-declarations/signatures/property-with-type-import.snap +++ b/crates/oxc_semantic/tests/fixtures/oxc/type-declarations/signatures/property-with-type-import.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/oxc/type-declarations/signatures/property-with-type-import.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -85,9 +82,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/block/inherited-scope.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/block/inherited-scope.snap index f7e61f2995b16..3acf3a998d9af 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/block/inherited-scope.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/block/inherited-scope.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/block/inherited-scope.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -38,9 +35,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/block/scope.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/block/scope.snap index f622951efdf49..06cf42fa279a9 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/block/scope.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/block/scope.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/block/scope.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -45,9 +42,3 @@ SCOPES "symbols": [] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/call-expression/call-expression.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/call-expression/call-expression.snap index a103ae73a6053..7ad100ec5ac5b 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/call-expression/call-expression.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/call-expression/call-expression.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/call-expression/call-expression.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -64,9 +61,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/call-expression/type-parameters1.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/call-expression/type-parameters1.snap index 86ca9bc22424e..0a72df911a49e 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/call-expression/type-parameters1.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/call-expression/type-parameters1.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/call-expression/type-parameters1.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -38,9 +35,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/call-expression/type-parameters2.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/call-expression/type-parameters2.snap index f0ca0aa2bca47..c0fd8cc4f171e 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/call-expression/type-parameters2.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/call-expression/type-parameters2.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/call-expression/type-parameters2.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [], @@ -23,9 +20,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/catch/inherited-scope.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/catch/inherited-scope.snap index 4bdd5cc9f3896..f66128511cdda 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/catch/inherited-scope.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/catch/inherited-scope.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/catch/inherited-scope.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -61,9 +58,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/catch/scope.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/catch/scope.snap index 5e542b0f7d0aa..5f880e1092226 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/catch/scope.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/catch/scope.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/catch/scope.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -75,9 +72,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/class/declaration/abstract-accessor-property.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/class/declaration/abstract-accessor-property.snap index d497035df6ae5..e996d3758d662 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/class/declaration/abstract-accessor-property.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/class/declaration/abstract-accessor-property.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/class/declaration/abstract-accessor-property.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -52,9 +49,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/class/declaration/abstract-property.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/class/declaration/abstract-property.snap index d6a022b397afe..aedfbe1ac1745 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/class/declaration/abstract-property.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/class/declaration/abstract-property.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/class/declaration/abstract-property.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -52,9 +49,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/class/declaration/abstract.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/class/declaration/abstract.snap index 53652f2293363..1e062d462387c 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/class/declaration/abstract.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/class/declaration/abstract.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/class/declaration/abstract.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -54,9 +51,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/class/declaration/accessor-property-type-annotation.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/class/declaration/accessor-property-type-annotation.snap index 2bae61fff4aa9..3c1b9990700b3 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/class/declaration/accessor-property-type-annotation.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/class/declaration/accessor-property-type-annotation.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/class/declaration/accessor-property-type-annotation.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -52,9 +49,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/class/declaration/accessor-property.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/class/declaration/accessor-property.snap index e19c30ea8beb4..5ab84be5cc193 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/class/declaration/accessor-property.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/class/declaration/accessor-property.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/class/declaration/accessor-property.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -52,9 +49,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/class/declaration/computed-member.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/class/declaration/computed-member.snap index 43d7e8c19c00f..520f0f9bca4c8 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/class/declaration/computed-member.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/class/declaration/computed-member.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/class/declaration/computed-member.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -67,9 +64,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/class/declaration/extends-generic.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/class/declaration/extends-generic.snap index 7000cdffbaa96..097f325399704 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/class/declaration/extends-generic.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/class/declaration/extends-generic.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/class/declaration/extends-generic.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -81,9 +78,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/class/declaration/extends.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/class/declaration/extends.snap index 1d76154c90d92..64eb6c639e446 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/class/declaration/extends.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/class/declaration/extends.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/class/declaration/extends.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -52,9 +49,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/class/declaration/generic-ref-extends.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/class/declaration/generic-ref-extends.snap index 41695b851ea43..a9e231dfd633a 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/class/declaration/generic-ref-extends.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/class/declaration/generic-ref-extends.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/class/declaration/generic-ref-extends.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -46,9 +43,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/class/declaration/generic-ref-implements.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/class/declaration/generic-ref-implements.snap index 7a1719750fa69..7060181740d28 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/class/declaration/generic-ref-implements.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/class/declaration/generic-ref-implements.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/class/declaration/generic-ref-implements.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -46,9 +43,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/class/declaration/generic.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/class/declaration/generic.snap index 34376f2be28fa..613bc7236a29d 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/class/declaration/generic.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/class/declaration/generic.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/class/declaration/generic.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -53,9 +50,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/class/declaration/implements-generic.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/class/declaration/implements-generic.snap index 1d26378ba1a4a..3057accde3abf 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/class/declaration/implements-generic.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/class/declaration/implements-generic.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/class/declaration/implements-generic.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -81,9 +78,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/class/declaration/implements.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/class/declaration/implements.snap index 69903f59c1014..9fc738787c25c 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/class/declaration/implements.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/class/declaration/implements.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/class/declaration/implements.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -52,9 +49,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/class/declaration/index-signature.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/class/declaration/index-signature.snap index 03f3a3584243a..f2b034eed451a 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/class/declaration/index-signature.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/class/declaration/index-signature.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/class/declaration/index-signature.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -59,9 +56,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/class/declaration/method-param-default.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/class/declaration/method-param-default.snap index 0a045fb46f5f2..4295bb7356dc4 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/class/declaration/method-param-default.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/class/declaration/method-param-default.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/class/declaration/method-param-default.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -76,9 +73,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/class/declaration/method.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/class/declaration/method.snap index 66c473c6c096a..8b668f2492404 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/class/declaration/method.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/class/declaration/method.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/class/declaration/method.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -109,9 +106,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/class/declaration/new.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/class/declaration/new.snap index 61945b051fcba..8a0354244353d 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/class/declaration/new.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/class/declaration/new.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/class/declaration/new.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -38,9 +35,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/class/declaration/parameter-properties.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/class/declaration/parameter-properties.snap index 4c57a9319420f..6cbc8cd05a185 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/class/declaration/parameter-properties.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/class/declaration/parameter-properties.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/class/declaration/parameter-properties.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -137,9 +134,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/class/declaration/private-identifier.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/class/declaration/private-identifier.snap index 55cc82409f642..1d42a8eac5b48 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/class/declaration/private-identifier.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/class/declaration/private-identifier.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/class/declaration/private-identifier.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -39,9 +36,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/class/declaration/properties-type-annotation.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/class/declaration/properties-type-annotation.snap index dbaa85171ad64..d88f63fc5e73d 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/class/declaration/properties-type-annotation.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/class/declaration/properties-type-annotation.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/class/declaration/properties-type-annotation.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -52,9 +49,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/class/declaration/properties.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/class/declaration/properties.snap index 44debe2af02d3..87a6e0439c08c 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/class/declaration/properties.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/class/declaration/properties.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/class/declaration/properties.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -52,9 +49,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/class/declaration/static-block.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/class/declaration/static-block.snap index 79a5f7a400668..4358406306b7c 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/class/declaration/static-block.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/class/declaration/static-block.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/class/declaration/static-block.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -39,9 +36,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/class/declaration/static-external-ref.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/class/declaration/static-external-ref.snap index 85d88831c64ee..6f8a7978268e0 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/class/declaration/static-external-ref.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/class/declaration/static-external-ref.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/class/declaration/static-external-ref.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -60,9 +57,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/class/declaration/static-with-constructor.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/class/declaration/static-with-constructor.snap index 02a467cc6c6ec..f71aa8dd1a35e 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/class/declaration/static-with-constructor.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/class/declaration/static-with-constructor.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/class/declaration/static-with-constructor.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -67,9 +64,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/class/declaration/type-reference.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/class/declaration/type-reference.snap index 2f5c20e8165fb..e50361cf6f34e 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/class/declaration/type-reference.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/class/declaration/type-reference.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/class/declaration/type-reference.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -85,9 +82,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/class/expression/computed-member.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/class/expression/computed-member.snap index 93039255c7921..058ae5a37557e 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/class/expression/computed-member.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/class/expression/computed-member.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/class/expression/computed-member.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -67,9 +64,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/class/expression/extends.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/class/expression/extends.snap index 7c9408de0b38f..821fcf09cda6d 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/class/expression/extends.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/class/expression/extends.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/class/expression/extends.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -52,9 +49,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/class/expression/method.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/class/expression/method.snap index 087f67b802a64..704a20aafab37 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/class/expression/method.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/class/expression/method.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/class/expression/method.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -109,9 +106,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/class/expression/new.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/class/expression/new.snap index 52e9d50007eeb..73d0d30b6cb88 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/class/expression/new.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/class/expression/new.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/class/expression/new.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -38,9 +35,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/class/expression/parameter-properties.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/class/expression/parameter-properties.snap index 5fa9e29c68029..bc7bba19df201 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/class/expression/parameter-properties.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/class/expression/parameter-properties.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/class/expression/parameter-properties.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -137,9 +134,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/class/expression/private-identifier.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/class/expression/private-identifier.snap index 0a3397c4092d0..998d688c3c292 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/class/expression/private-identifier.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/class/expression/private-identifier.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/class/expression/private-identifier.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -39,9 +36,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/class/expression/properties.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/class/expression/properties.snap index 4d63307eff843..726bf36543657 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/class/expression/properties.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/class/expression/properties.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/class/expression/properties.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -52,9 +49,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/class/expression/self-reference-super.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/class/expression/self-reference-super.snap index c616cc1887f2c..e42482ca510d5 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/class/expression/self-reference-super.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/class/expression/self-reference-super.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/class/expression/self-reference-super.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -46,9 +43,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/decorators/accessor.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/decorators/accessor.snap index b5f229192e869..94977a17e4706 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/decorators/accessor.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/decorators/accessor.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/decorators/accessor.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -81,9 +78,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/decorators/class-deco-with-object-param.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/decorators/class-deco-with-object-param.snap index 7d4b0806cdd2d..77c7a12285b72 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/decorators/class-deco-with-object-param.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/decorators/class-deco-with-object-param.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/decorators/class-deco-with-object-param.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -46,9 +43,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/decorators/class-property.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/decorators/class-property.snap index c5106114aca43..097ceec522477 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/decorators/class-property.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/decorators/class-property.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/decorators/class-property.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -52,9 +49,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/decorators/class.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/decorators/class.snap index 97ca63350f9f8..38ce412c0d8d8 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/decorators/class.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/decorators/class.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/decorators/class.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -52,9 +49,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/decorators/method.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/decorators/method.snap index d63d532a23fb8..b3d3e929c0295 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/decorators/method.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/decorators/method.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/decorators/method.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -60,9 +57,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/decorators/parameter-property.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/decorators/parameter-property.snap index 357769adbeffa..c6e64ae61c244 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/decorators/parameter-property.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/decorators/parameter-property.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/decorators/parameter-property.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -81,9 +78,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/decorators/parameter.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/decorators/parameter.snap index 79a906a5fa255..a95db7c9668d6 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/decorators/parameter.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/decorators/parameter.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/decorators/parameter.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -107,9 +104,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/decorators/typeof-this.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/decorators/typeof-this.snap index 5bbc9b7bfb895..53f426f68bc3f 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/decorators/typeof-this.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/decorators/typeof-this.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/decorators/typeof-this.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -68,9 +65,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/destructuring/array-assignment.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/destructuring/array-assignment.snap index 34c203e5a134f..4b2d2edb38bdc 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/destructuring/array-assignment.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/destructuring/array-assignment.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/destructuring/array-assignment.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [], @@ -58,9 +55,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/destructuring/array.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/destructuring/array.snap index 8593f53d84af6..07868b4b5f5af 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/destructuring/array.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/destructuring/array.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/destructuring/array.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [], @@ -65,9 +62,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/destructuring/object-assignment.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/destructuring/object-assignment.snap index bd35b76aadf24..e8825a225dd8a 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/destructuring/object-assignment.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/destructuring/object-assignment.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/destructuring/object-assignment.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [], @@ -30,9 +27,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/destructuring/object.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/destructuring/object.snap index 4e720c3482a28..5ec5af96f27fd 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/destructuring/object.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/destructuring/object.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/destructuring/object.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [], @@ -65,9 +62,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/export/all.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/export/all.snap index 2e7631e671f55..96d4a2f835cdd 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/export/all.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/export/all.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/export/all.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [], @@ -15,9 +12,3 @@ SCOPES "symbols": [] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/export/default-type.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/export/default-type.snap index 2dd21728955dc..c502ecdc397cb 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/export/default-type.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/export/default-type.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/export/default-type.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -38,9 +35,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/export/default1.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/export/default1.snap index 8a8118285f967..03bc5fd7ed7fc 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/export/default1.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/export/default1.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/export/default1.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -31,9 +28,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/export/default2.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/export/default2.snap index 60e534c0bc1bb..6ca5c7e90ce4a 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/export/default2.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/export/default2.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/export/default2.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [], @@ -30,9 +27,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/export/default3.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/export/default3.snap index 80d962a3f0806..f15efaf1c832c 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/export/default3.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/export/default3.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/export/default3.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [], @@ -15,9 +12,3 @@ SCOPES "symbols": [] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/export/default4.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/export/default4.snap index 8dd0b25d38881..0d5aac741a174 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/export/default4.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/export/default4.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/export/default4.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -23,9 +20,3 @@ SCOPES "symbols": [] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/export/equals1.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/export/equals1.snap index 6e2d00b873c48..f6b053fdc7e02 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/export/equals1.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/export/equals1.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/export/equals1.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [], @@ -30,9 +27,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/export/equals2.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/export/equals2.snap index e24136c2ade92..0111c95d55279 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/export/equals2.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/export/equals2.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/export/equals2.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [], @@ -15,9 +12,3 @@ SCOPES "symbols": [] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/export/equals3-type.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/export/equals3-type.snap index bb14324c8cbce..dfb0f65dd32ce 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/export/equals3-type.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/export/equals3-type.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/export/equals3-type.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -38,9 +35,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/export/equals4-type.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/export/equals4-type.snap index c68955f514a8d..a99a957c484d1 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/export/equals4-type.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/export/equals4-type.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/export/equals4-type.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -38,9 +35,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/export/named-dual.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/export/named-dual.snap index 377f91843e81d..8c2292b1c54d0 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/export/named-dual.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/export/named-dual.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/export/named-dual.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -38,9 +35,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/export/named-source1.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/export/named-source1.snap index ade9486bb38fe..4eac08f054531 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/export/named-source1.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/export/named-source1.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/export/named-source1.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [], @@ -15,9 +12,3 @@ SCOPES "symbols": [] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/export/named-source2.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/export/named-source2.snap index a871e6b8d020b..be7f055489bcf 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/export/named-source2.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/export/named-source2.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/export/named-source2.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [], @@ -15,9 +12,3 @@ SCOPES "symbols": [] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/export/named-type1.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/export/named-type1.snap index c0c3fd6212960..0df5aff874903 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/export/named-type1.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/export/named-type1.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/export/named-type1.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -31,9 +28,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/export/named1.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/export/named1.snap index d74fd61c77575..7ca08c9f5f5d2 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/export/named1.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/export/named1.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/export/named1.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [], @@ -23,9 +20,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/export/named2-type.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/export/named2-type.snap index a8b509eeda8dc..efc24b910bf52 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/export/named2-type.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/export/named2-type.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/export/named2-type.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -38,9 +35,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/export/named2.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/export/named2.snap index 159122f91cedc..4e5ad81bc74af 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/export/named2.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/export/named2.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/export/named2.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [], @@ -30,9 +27,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/export/named3-type.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/export/named3-type.snap index b621323b2f959..44168c588deb5 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/export/named3-type.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/export/named3-type.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/export/named3-type.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -38,9 +35,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/export/named3.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/export/named3.snap index 0555ac577a362..bd144be4b6dbb 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/export/named3.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/export/named3.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/export/named3.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [], @@ -30,9 +27,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/export/type-inline.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/export/type-inline.snap index ceb4bbaa13392..c4f9672e82a96 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/export/type-inline.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/export/type-inline.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/export/type-inline.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -38,9 +35,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/export/type.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/export/type.snap index 793afab3c7733..c5f635b8505d9 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/export/type.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/export/type.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/export/type.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -38,9 +35,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/arrow/default-params/readable-ref-body-shadow.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/arrow/default-params/readable-ref-body-shadow.snap index f937004f48ecf..867895546b90e 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/arrow/default-params/readable-ref-body-shadow.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/arrow/default-params/readable-ref-body-shadow.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/arrow/default-params/readable-ref-body-shadow.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -60,9 +57,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/arrow/default-params/readable-ref-const.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/arrow/default-params/readable-ref-const.snap index 052c4e43d09e5..d740793c63139 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/arrow/default-params/readable-ref-const.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/arrow/default-params/readable-ref-const.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/arrow/default-params/readable-ref-const.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -53,9 +50,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/arrow/default-params/readable-ref-let.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/arrow/default-params/readable-ref-let.snap index 053f3901f298b..8b0a61c1061b1 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/arrow/default-params/readable-ref-let.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/arrow/default-params/readable-ref-let.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/arrow/default-params/readable-ref-let.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -53,9 +50,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/arrow/default-params/readable-ref-nested-body-shadow.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/arrow/default-params/readable-ref-nested-body-shadow.snap index 765ef8cd39b28..9671b2f6e81b1 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/arrow/default-params/readable-ref-nested-body-shadow.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/arrow/default-params/readable-ref-nested-body-shadow.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/arrow/default-params/readable-ref-nested-body-shadow.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -68,9 +65,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/arrow/default-params/readable-ref-nested.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/arrow/default-params/readable-ref-nested.snap index c813c6a66471a..5a3fe82ac9b0c 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/arrow/default-params/readable-ref-nested.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/arrow/default-params/readable-ref-nested.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/arrow/default-params/readable-ref-nested.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -61,9 +58,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/arrow/default-params/readable-ref-param-shadow.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/arrow/default-params/readable-ref-param-shadow.snap index a7de7aa630e29..a88a34aa832be 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/arrow/default-params/readable-ref-param-shadow.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/arrow/default-params/readable-ref-param-shadow.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/arrow/default-params/readable-ref-param-shadow.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -60,9 +57,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/arrow/default-params/readable-ref-partial.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/arrow/default-params/readable-ref-partial.snap index df11464b82c37..b1f66af410d19 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/arrow/default-params/readable-ref-partial.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/arrow/default-params/readable-ref-partial.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/arrow/default-params/readable-ref-partial.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -53,9 +50,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/arrow/default-params/writable-ref.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/arrow/default-params/writable-ref.snap index a6064566de64f..e308bbbd3fbd7 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/arrow/default-params/writable-ref.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/arrow/default-params/writable-ref.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/arrow/default-params/writable-ref.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -46,9 +43,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/arrow/inherited-scope.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/arrow/inherited-scope.snap index 1a8e8d1efd21d..9ad45f687e12e 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/arrow/inherited-scope.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/arrow/inherited-scope.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/arrow/inherited-scope.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -38,9 +35,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/arrow/no-body.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/arrow/no-body.snap index 9eb4c673282a3..08c12499b9301 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/arrow/no-body.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/arrow/no-body.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/arrow/no-body.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -38,9 +35,3 @@ SCOPES "symbols": [] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/arrow/params.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/arrow/params.snap index b542cdb64b124..1235188f90a96 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/arrow/params.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/arrow/params.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/arrow/params.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -108,9 +105,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/arrow/scope.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/arrow/scope.snap index 2d79c312ef705..5ba6d2c9a8ab3 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/arrow/scope.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/arrow/scope.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/arrow/scope.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -60,9 +57,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/arrow/type-parameters/body-reference.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/arrow/type-parameters/body-reference.snap index 12983a8231786..735800714f792 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/arrow/type-parameters/body-reference.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/arrow/type-parameters/body-reference.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/arrow/type-parameters/body-reference.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -53,9 +50,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/arrow/type-parameters/param-reference.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/arrow/type-parameters/param-reference.snap index 7bf09a7985853..cda6b5484e374 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/arrow/type-parameters/param-reference.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/arrow/type-parameters/param-reference.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/arrow/type-parameters/param-reference.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -53,9 +50,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/arrow/type-parameters/return-value-reference.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/arrow/type-parameters/return-value-reference.snap index 7e8ec5140de54..c2c8307860403 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/arrow/type-parameters/return-value-reference.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/arrow/type-parameters/return-value-reference.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/arrow/type-parameters/return-value-reference.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -46,9 +43,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/arrow/type-parameters/type-param-reference.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/arrow/type-parameters/type-param-reference.snap index 37d0b52aa74af..f1fbec3615f5f 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/arrow/type-parameters/type-param-reference.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/arrow/type-parameters/type-param-reference.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/arrow/type-parameters/type-param-reference.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -53,9 +50,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/arrow/type-parameters/type-parameter-declaration.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/arrow/type-parameters/type-parameter-declaration.snap index 25c75f4e659b6..716c7f78bf060 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/arrow/type-parameters/type-parameter-declaration.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/arrow/type-parameters/type-parameter-declaration.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/arrow/type-parameters/type-parameter-declaration.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -53,9 +50,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/arrow/type-predicate-asserts1.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/arrow/type-predicate-asserts1.snap index 92f06e0f59008..6c59565e9b55b 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/arrow/type-predicate-asserts1.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/arrow/type-predicate-asserts1.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/arrow/type-predicate-asserts1.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -39,9 +36,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/arrow/type-predicate-asserts2.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/arrow/type-predicate-asserts2.snap index 81c5965a87343..969a3dd95cc9c 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/arrow/type-predicate-asserts2.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/arrow/type-predicate-asserts2.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/arrow/type-predicate-asserts2.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -60,9 +57,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/arrow/type-predicate1.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/arrow/type-predicate1.snap index e8a36bc587afc..131fec63771ee 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/arrow/type-predicate1.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/arrow/type-predicate1.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/arrow/type-predicate1.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -46,9 +43,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/arrow/type-predicate2.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/arrow/type-predicate2.snap index 5db45d0dd676f..708f30642572a 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/arrow/type-predicate2.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/arrow/type-predicate2.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/arrow/type-predicate2.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -67,9 +64,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/function-declaration/default-params/readable-ref-body-shadow.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/function-declaration/default-params/readable-ref-body-shadow.snap index da66bcbf1f561..ac2daa6a77ecb 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/function-declaration/default-params/readable-ref-body-shadow.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/function-declaration/default-params/readable-ref-body-shadow.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/function-declaration/default-params/readable-ref-body-shadow.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -60,9 +57,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/function-declaration/default-params/readable-ref-const.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/function-declaration/default-params/readable-ref-const.snap index db64e3dfc6dcb..894e73c654f1a 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/function-declaration/default-params/readable-ref-const.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/function-declaration/default-params/readable-ref-const.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/function-declaration/default-params/readable-ref-const.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -53,9 +50,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/function-declaration/default-params/readable-ref-let.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/function-declaration/default-params/readable-ref-let.snap index 6a6b7d9df2bc1..821259c33a652 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/function-declaration/default-params/readable-ref-let.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/function-declaration/default-params/readable-ref-let.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/function-declaration/default-params/readable-ref-let.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -53,9 +50,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/function-declaration/default-params/readable-ref-nested-body-shadow.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/function-declaration/default-params/readable-ref-nested-body-shadow.snap index d7e9891970f92..990308fb15eea 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/function-declaration/default-params/readable-ref-nested-body-shadow.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/function-declaration/default-params/readable-ref-nested-body-shadow.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/function-declaration/default-params/readable-ref-nested-body-shadow.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -68,9 +65,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/function-declaration/default-params/readable-ref-nested.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/function-declaration/default-params/readable-ref-nested.snap index bc6a55798200a..6c1614e51780b 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/function-declaration/default-params/readable-ref-nested.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/function-declaration/default-params/readable-ref-nested.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/function-declaration/default-params/readable-ref-nested.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -61,9 +58,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/function-declaration/default-params/readable-ref-param-shadow.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/function-declaration/default-params/readable-ref-param-shadow.snap index da4475ffb13c2..84e29ba019f3e 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/function-declaration/default-params/readable-ref-param-shadow.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/function-declaration/default-params/readable-ref-param-shadow.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/function-declaration/default-params/readable-ref-param-shadow.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -60,9 +57,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/function-declaration/default-params/readable-ref-partial.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/function-declaration/default-params/readable-ref-partial.snap index e902cecd34ba9..1828ffae32d4c 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/function-declaration/default-params/readable-ref-partial.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/function-declaration/default-params/readable-ref-partial.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/function-declaration/default-params/readable-ref-partial.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -53,9 +50,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/function-declaration/default-params/writable-ref.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/function-declaration/default-params/writable-ref.snap index c98b144d13c39..83ee0f6ab28e5 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/function-declaration/default-params/writable-ref.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/function-declaration/default-params/writable-ref.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/function-declaration/default-params/writable-ref.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -46,9 +43,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/function-declaration/inherited-scope.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/function-declaration/inherited-scope.snap index 30cb1d4e83df0..f58d95af65eaf 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/function-declaration/inherited-scope.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/function-declaration/inherited-scope.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/function-declaration/inherited-scope.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -45,9 +42,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/function-declaration/name-shadowed-in-body.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/function-declaration/name-shadowed-in-body.snap index b6625bf7989d2..bd1a43a1ebc87 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/function-declaration/name-shadowed-in-body.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/function-declaration/name-shadowed-in-body.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/function-declaration/name-shadowed-in-body.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -53,9 +50,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/function-declaration/overload.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/function-declaration/overload.snap index 64f194bfa5cfd..15cfec50045d9 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/function-declaration/overload.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/function-declaration/overload.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/function-declaration/overload.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -75,9 +72,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/function-declaration/params.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/function-declaration/params.snap index 47c639c575d95..a7c081ea11c3a 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/function-declaration/params.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/function-declaration/params.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/function-declaration/params.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -115,9 +112,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/function-declaration/scope.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/function-declaration/scope.snap index d93d908d30381..9fc6686f5b8ee 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/function-declaration/scope.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/function-declaration/scope.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/function-declaration/scope.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -60,9 +57,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/function-declaration/type-parameters/body-reference.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/function-declaration/type-parameters/body-reference.snap index 8a04e265da1d9..84cfaf1474154 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/function-declaration/type-parameters/body-reference.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/function-declaration/type-parameters/body-reference.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/function-declaration/type-parameters/body-reference.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -53,9 +50,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/function-declaration/type-parameters/param-reference.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/function-declaration/type-parameters/param-reference.snap index 4a9f5cea869c5..3df4c4f58cf28 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/function-declaration/type-parameters/param-reference.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/function-declaration/type-parameters/param-reference.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/function-declaration/type-parameters/param-reference.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -53,9 +50,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/function-declaration/type-parameters/return-value-reference.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/function-declaration/type-parameters/return-value-reference.snap index ddd04906e23f7..71ac6afc8dc4c 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/function-declaration/type-parameters/return-value-reference.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/function-declaration/type-parameters/return-value-reference.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/function-declaration/type-parameters/return-value-reference.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -46,9 +43,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/function-declaration/type-parameters/type-param-reference.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/function-declaration/type-parameters/type-param-reference.snap index 40777786ca323..a958d3c8727ba 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/function-declaration/type-parameters/type-param-reference.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/function-declaration/type-parameters/type-param-reference.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/function-declaration/type-parameters/type-param-reference.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -53,9 +50,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/function-declaration/type-parameters/type-parameter-declaration.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/function-declaration/type-parameters/type-parameter-declaration.snap index 58cd78c93ce48..abe55012e3d3c 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/function-declaration/type-parameters/type-parameter-declaration.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/function-declaration/type-parameters/type-parameter-declaration.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/function-declaration/type-parameters/type-parameter-declaration.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -53,9 +50,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/function-declaration/type-predicate-asserts1.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/function-declaration/type-predicate-asserts1.snap index bcfaecd6f7ba2..be798b1c15764 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/function-declaration/type-predicate-asserts1.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/function-declaration/type-predicate-asserts1.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/function-declaration/type-predicate-asserts1.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -39,9 +36,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/function-declaration/type-predicate-asserts2.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/function-declaration/type-predicate-asserts2.snap index 572a4cacbe5e2..0e71bce328915 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/function-declaration/type-predicate-asserts2.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/function-declaration/type-predicate-asserts2.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/function-declaration/type-predicate-asserts2.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -60,9 +57,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/function-declaration/type-predicate1.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/function-declaration/type-predicate1.snap index cfb8e1405c9de..705c02ff38072 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/function-declaration/type-predicate1.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/function-declaration/type-predicate1.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/function-declaration/type-predicate1.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -46,9 +43,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/function-declaration/type-predicate2.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/function-declaration/type-predicate2.snap index c71f8ad909274..1257cf4f34337 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/function-declaration/type-predicate2.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/function-declaration/type-predicate2.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/function-declaration/type-predicate2.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -67,9 +64,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/function-expression/anonymous.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/function-expression/anonymous.snap index 2507434590792..3bca32955fc42 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/function-expression/anonymous.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/function-expression/anonymous.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/function-expression/anonymous.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -31,9 +28,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/function-expression/default-params/readable-ref-body-shadow.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/function-expression/default-params/readable-ref-body-shadow.snap index d5f99fa498841..e6ed7523de77b 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/function-expression/default-params/readable-ref-body-shadow.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/function-expression/default-params/readable-ref-body-shadow.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/function-expression/default-params/readable-ref-body-shadow.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -60,9 +57,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/function-expression/default-params/readable-ref-const.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/function-expression/default-params/readable-ref-const.snap index 073420cd0e42f..8aefc1155335c 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/function-expression/default-params/readable-ref-const.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/function-expression/default-params/readable-ref-const.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/function-expression/default-params/readable-ref-const.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -53,9 +50,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/function-expression/default-params/readable-ref-let.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/function-expression/default-params/readable-ref-let.snap index 1a225b9c996f5..533ae05a827d5 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/function-expression/default-params/readable-ref-let.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/function-expression/default-params/readable-ref-let.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/function-expression/default-params/readable-ref-let.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -53,9 +50,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/function-expression/default-params/readable-ref-nested-body-shadow.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/function-expression/default-params/readable-ref-nested-body-shadow.snap index a5fc07bc7f720..e90371d553bb9 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/function-expression/default-params/readable-ref-nested-body-shadow.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/function-expression/default-params/readable-ref-nested-body-shadow.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/function-expression/default-params/readable-ref-nested-body-shadow.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -68,9 +65,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/function-expression/default-params/readable-ref-nested.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/function-expression/default-params/readable-ref-nested.snap index 81282e55b6429..1454cc35a59e5 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/function-expression/default-params/readable-ref-nested.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/function-expression/default-params/readable-ref-nested.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/function-expression/default-params/readable-ref-nested.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -61,9 +58,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/function-expression/default-params/readable-ref-param-shadow.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/function-expression/default-params/readable-ref-param-shadow.snap index e355d08befce1..fb1ac3c5b695f 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/function-expression/default-params/readable-ref-param-shadow.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/function-expression/default-params/readable-ref-param-shadow.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/function-expression/default-params/readable-ref-param-shadow.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -60,9 +57,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/function-expression/default-params/readable-ref-partial.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/function-expression/default-params/readable-ref-partial.snap index 2647741490765..e8351f22128b7 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/function-expression/default-params/readable-ref-partial.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/function-expression/default-params/readable-ref-partial.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/function-expression/default-params/readable-ref-partial.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -53,9 +50,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/function-expression/default-params/writable-ref.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/function-expression/default-params/writable-ref.snap index 3305dadb57e82..9f8608e1bdc93 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/function-expression/default-params/writable-ref.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/function-expression/default-params/writable-ref.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/function-expression/default-params/writable-ref.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -46,9 +43,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/function-expression/inherited-scope.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/function-expression/inherited-scope.snap index 756205a986f52..97d957b21e4ba 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/function-expression/inherited-scope.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/function-expression/inherited-scope.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/function-expression/inherited-scope.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -45,9 +42,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/function-expression/params.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/function-expression/params.snap index 75787b2983b38..d3e41add9b681 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/function-expression/params.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/function-expression/params.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/function-expression/params.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -115,9 +112,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/function-expression/scope.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/function-expression/scope.snap index 0d53f64d7fe61..284375e69c971 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/function-expression/scope.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/function-expression/scope.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/function-expression/scope.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -60,9 +57,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/function-expression/type-parameters/body-reference.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/function-expression/type-parameters/body-reference.snap index dc3f3d3b5e159..c648269b490da 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/function-expression/type-parameters/body-reference.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/function-expression/type-parameters/body-reference.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/function-expression/type-parameters/body-reference.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -53,9 +50,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/function-expression/type-parameters/param-reference.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/function-expression/type-parameters/param-reference.snap index d7dd37942385e..5289fe2ed5135 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/function-expression/type-parameters/param-reference.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/function-expression/type-parameters/param-reference.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/function-expression/type-parameters/param-reference.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -53,9 +50,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/function-expression/type-parameters/return-value-reference.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/function-expression/type-parameters/return-value-reference.snap index b6a323c15c6d0..17a72c1e9c5c7 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/function-expression/type-parameters/return-value-reference.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/function-expression/type-parameters/return-value-reference.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/function-expression/type-parameters/return-value-reference.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -46,9 +43,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/function-expression/type-parameters/type-param-reference.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/function-expression/type-parameters/type-param-reference.snap index 234e5a32c83dd..5515c5688518f 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/function-expression/type-parameters/type-param-reference.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/function-expression/type-parameters/type-param-reference.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/function-expression/type-parameters/type-param-reference.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -53,9 +50,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/function-expression/type-parameters/type-parameter-declaration.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/function-expression/type-parameters/type-parameter-declaration.snap index 7fed8dc5b63e1..c90b9ac5a6582 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/function-expression/type-parameters/type-parameter-declaration.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/function-expression/type-parameters/type-parameter-declaration.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/function-expression/type-parameters/type-parameter-declaration.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -53,9 +50,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/function-expression/type-predicate-asserts1.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/function-expression/type-predicate-asserts1.snap index f5335ee04ca6a..8c0ea1fc55398 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/function-expression/type-predicate-asserts1.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/function-expression/type-predicate-asserts1.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/function-expression/type-predicate-asserts1.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -39,9 +36,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/function-expression/type-predicate-asserts2.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/function-expression/type-predicate-asserts2.snap index b7f329864f14c..8714b9db19135 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/function-expression/type-predicate-asserts2.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/function-expression/type-predicate-asserts2.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/function-expression/type-predicate-asserts2.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -60,9 +57,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/function-expression/type-predicate1.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/function-expression/type-predicate1.snap index fa2e8e7e9926f..b075e497516bc 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/function-expression/type-predicate1.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/function-expression/type-predicate1.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/function-expression/type-predicate1.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -46,9 +43,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/function-expression/type-predicate2.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/function-expression/type-predicate2.snap index 8959e27d3ffdf..14bb31cd9e592 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/function-expression/type-predicate2.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/function-expression/type-predicate2.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/function-expression/type-predicate2.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -67,9 +64,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/global-resolution/module/class.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/global-resolution/module/class.snap index f7bd73ec2143f..237b7c7808239 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/global-resolution/module/class.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/global-resolution/module/class.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/global-resolution/module/class.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -38,9 +35,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/global-resolution/module/function.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/global-resolution/module/function.snap index e5b5f033f90cb..35eb0e5de796b 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/global-resolution/module/function.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/global-resolution/module/function.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/global-resolution/module/function.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -38,9 +35,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/global-resolution/module/variable-decl-const.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/global-resolution/module/variable-decl-const.snap index 7e3a31ccaf347..26507a4176ccd 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/global-resolution/module/variable-decl-const.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/global-resolution/module/variable-decl-const.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/global-resolution/module/variable-decl-const.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -38,9 +35,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/global-resolution/module/variable-decl-let.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/global-resolution/module/variable-decl-let.snap index 0123547587daa..d4c3953c49fec 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/global-resolution/module/variable-decl-let.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/global-resolution/module/variable-decl-let.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/global-resolution/module/variable-decl-let.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -38,9 +35,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/global-resolution/module/variable-decl-var.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/global-resolution/module/variable-decl-var.snap index 0f488216f10a8..b5258414743c3 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/global-resolution/module/variable-decl-var.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/global-resolution/module/variable-decl-var.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/global-resolution/module/variable-decl-var.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -38,9 +35,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/global-resolution/script/class.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/global-resolution/script/class.snap index 70e4cb3f6eb17..8fed61ead950e 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/global-resolution/script/class.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/global-resolution/script/class.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/global-resolution/script/class.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -38,9 +35,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/global-resolution/script/function.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/global-resolution/script/function.snap index f16f8b7348c2b..df8783da4984d 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/global-resolution/script/function.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/global-resolution/script/function.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/global-resolution/script/function.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -38,9 +35,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/global-resolution/script/variable-decl-const.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/global-resolution/script/variable-decl-const.snap index 9e024feb02320..b386351cbdb35 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/global-resolution/script/variable-decl-const.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/global-resolution/script/variable-decl-const.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/global-resolution/script/variable-decl-const.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -38,9 +35,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/global-resolution/script/variable-decl-let.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/global-resolution/script/variable-decl-let.snap index 3ab30a66f7788..3448c85c510bf 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/global-resolution/script/variable-decl-let.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/global-resolution/script/variable-decl-let.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/global-resolution/script/variable-decl-let.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -38,9 +35,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/global-resolution/script/variable-decl-var.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/global-resolution/script/variable-decl-var.snap index 6ac05017db985..9897ba7e4f21e 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/global-resolution/script/variable-decl-var.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/global-resolution/script/variable-decl-var.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/global-resolution/script/variable-decl-var.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -38,9 +35,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/implicit/implicit1.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/implicit/implicit1.snap index 8f6a369f72554..d4b8c9af65955 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/implicit/implicit1.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/implicit/implicit1.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/implicit/implicit1.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [], @@ -23,9 +20,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/import/default.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/import/default.snap index 1993944d15d2f..f5b29f86f93fb 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/import/default.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/import/default.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/import/default.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -51,9 +48,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/import/equals1.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/import/equals1.snap index f82f0c848ced0..c9cc5680d82d0 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/import/equals1.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/import/equals1.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/import/equals1.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [], @@ -30,9 +27,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/import/equals2.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/import/equals2.snap index 8505f9d9e0c3d..e010539cbf684 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/import/equals2.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/import/equals2.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/import/equals2.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [], @@ -37,9 +34,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/import/named-alias.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/import/named-alias.snap index 7e390ce4b87cf..31c07597f8811 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/import/named-alias.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/import/named-alias.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/import/named-alias.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -51,9 +48,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/import/named.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/import/named.snap index ca4ef8f5ac218..40080d21e7559 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/import/named.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/import/named.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/import/named.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -51,9 +48,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/import/namespace.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/import/namespace.snap index 27c5a5bde896c..e77f4686a048f 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/import/namespace.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/import/namespace.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/import/namespace.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -51,9 +48,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/import/type-default-value.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/import/type-default-value.snap index e66f6ab121077..92812d2f63d11 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/import/type-default-value.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/import/type-default-value.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/import/type-default-value.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -45,9 +42,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/import/type-default.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/import/type-default.snap index 1abb10280565c..6c7fba6da097a 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/import/type-default.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/import/type-default.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/import/type-default.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -52,9 +49,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/import/type-inline-value.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/import/type-inline-value.snap index 6517193c975bf..076617b35cbae 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/import/type-inline-value.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/import/type-inline-value.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/import/type-inline-value.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -45,9 +42,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/import/type-inline.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/import/type-inline.snap index a41a3535d93bb..6c7ffa2cc8b37 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/import/type-inline.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/import/type-inline.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/import/type-inline.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -52,9 +49,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/import/type-named-value.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/import/type-named-value.snap index 1f4d6db0066d1..87629fdf78b3a 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/import/type-named-value.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/import/type-named-value.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/import/type-named-value.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -45,9 +42,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/import/type-named.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/import/type-named.snap index 8f40508c59aee..a7c75ae4ac0c8 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/import/type-named.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/import/type-named.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/import/type-named.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -52,9 +49,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/instantiation-expressions/type-arguments1.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/instantiation-expressions/type-arguments1.snap index 23e1aacedd160..a69dd4dd41fe9 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/instantiation-expressions/type-arguments1.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/instantiation-expressions/type-arguments1.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/instantiation-expressions/type-arguments1.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -89,9 +86,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/instantiation-expressions/type-arguments2.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/instantiation-expressions/type-arguments2.snap index 366e77a2f151b..cecbba26d326e 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/instantiation-expressions/type-arguments2.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/instantiation-expressions/type-arguments2.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/instantiation-expressions/type-arguments2.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -109,9 +106,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/jsx/attribute-spread.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/jsx/attribute-spread.snap index 66f7b36b6e413..fa2db4d305316 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/jsx/attribute-spread.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/jsx/attribute-spread.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/jsx/attribute-spread.tsx +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [], @@ -30,9 +27,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/jsx/attribute.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/jsx/attribute.snap index 5c8c122a19801..3dbc0008f3a8c 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/jsx/attribute.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/jsx/attribute.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/jsx/attribute.tsx +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [], @@ -37,9 +34,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/jsx/children.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/jsx/children.snap index ec4b3ea66edd5..922e6d8b3eba4 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/jsx/children.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/jsx/children.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/jsx/children.tsx +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [], @@ -30,9 +27,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/jsx/component-intrinsic-name.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/jsx/component-intrinsic-name.snap index 885acff10f08a..bb1f5fd32c0b9 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/jsx/component-intrinsic-name.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/jsx/component-intrinsic-name.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/jsx/component-intrinsic-name.tsx +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -31,9 +28,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/jsx/component-namespaced1.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/jsx/component-namespaced1.snap index f2d1389081fa0..bc5238f223661 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/jsx/component-namespaced1.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/jsx/component-namespaced1.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/jsx/component-namespaced1.tsx +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -45,9 +42,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/jsx/component-namespaced2.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/jsx/component-namespaced2.snap index 94594cb5c2ecd..45bcfb60e4054 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/jsx/component-namespaced2.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/jsx/component-namespaced2.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/jsx/component-namespaced2.tsx +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -45,9 +42,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/jsx/component.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/jsx/component.snap index 626817a02cf69..64c638b50428c 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/jsx/component.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/jsx/component.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/jsx/component.tsx +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -38,9 +35,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/jsx/factory/default-jsxFragmentName.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/jsx/factory/default-jsxFragmentName.snap index aecc65d3aad38..af2f7cd06b24d 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/jsx/factory/default-jsxFragmentName.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/jsx/factory/default-jsxFragmentName.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/jsx/factory/default-jsxFragmentName.tsx +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [], @@ -30,9 +27,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/jsx/factory/default-jsxPragma-fragment.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/jsx/factory/default-jsxPragma-fragment.snap index c925106e61172..0222f3ee068e9 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/jsx/factory/default-jsxPragma-fragment.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/jsx/factory/default-jsxPragma-fragment.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/jsx/factory/default-jsxPragma-fragment.tsx +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [], @@ -23,9 +20,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/jsx/factory/default-jsxPragma.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/jsx/factory/default-jsxPragma.snap index def5314b27edf..162be31bd94e1 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/jsx/factory/default-jsxPragma.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/jsx/factory/default-jsxPragma.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/jsx/factory/default-jsxPragma.tsx +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [], @@ -23,9 +20,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/jsx/factory/jsxFragmentName.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/jsx/factory/jsxFragmentName.snap index c56cc3917b7c4..d7c3aa994004c 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/jsx/factory/jsxFragmentName.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/jsx/factory/jsxFragmentName.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/jsx/factory/jsxFragmentName.tsx +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [], @@ -30,9 +27,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/jsx/factory/jsxPragma-jsxFragmentName.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/jsx/factory/jsxPragma-jsxFragmentName.snap index cf98d2e5e788d..24b24e580ed90 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/jsx/factory/jsxPragma-jsxFragmentName.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/jsx/factory/jsxPragma-jsxFragmentName.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/jsx/factory/jsxPragma-jsxFragmentName.tsx +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [], @@ -37,9 +34,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/jsx/factory/jsxPragma.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/jsx/factory/jsxPragma.snap index cb25cd4b63b12..2f3846a186642 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/jsx/factory/jsxPragma.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/jsx/factory/jsxPragma.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/jsx/factory/jsxPragma.tsx +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [], @@ -30,9 +27,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/jsx/fragment-children.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/jsx/fragment-children.snap index bdcfa81155224..11e0928520d30 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/jsx/fragment-children.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/jsx/fragment-children.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/jsx/fragment-children.tsx +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [], @@ -30,9 +27,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/jsx/fragment.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/jsx/fragment.snap index 7ad996435f509..624558a02c54b 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/jsx/fragment.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/jsx/fragment.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/jsx/fragment.tsx +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [], @@ -15,9 +12,3 @@ SCOPES "symbols": [] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/jsx/generic-type-param.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/jsx/generic-type-param.snap index 3496988d602c1..b02777236f643 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/jsx/generic-type-param.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/jsx/generic-type-param.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/jsx/generic-type-param.tsx +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -38,9 +35,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/jsx/namespaced-attribute.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/jsx/namespaced-attribute.snap index 9d387bf25dfd0..f7c9e2a1e056a 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/jsx/namespaced-attribute.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/jsx/namespaced-attribute.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/jsx/namespaced-attribute.tsx +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -101,9 +98,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/jsx/text.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/jsx/text.snap index d736de2f8a5b5..c8a2cb8aa1a52 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/jsx/text.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/jsx/text.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/jsx/text.tsx +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [], @@ -23,9 +20,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/jsx/this-jsxidentifier.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/jsx/this-jsxidentifier.snap index 27e8254c5f262..b398f439d644d 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/jsx/this-jsxidentifier.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/jsx/this-jsxidentifier.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/jsx/this-jsxidentifier.tsx +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -53,9 +50,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/member-expression/member-expression.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/member-expression/member-expression.snap index f8f18970c0609..57eb0f8cded7a 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/member-expression/member-expression.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/member-expression/member-expression.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/member-expression/member-expression.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [], @@ -54,9 +51,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/new-expression/new-expression.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/new-expression/new-expression.snap index b831bd9f69e06..07d6c2d8f1100 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/new-expression/new-expression.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/new-expression/new-expression.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/new-expression/new-expression.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -52,9 +49,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/new-expression/type-parameters1.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/new-expression/type-parameters1.snap index e149b66fd39b8..029668715d2ab 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/new-expression/type-parameters1.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/new-expression/type-parameters1.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/new-expression/type-parameters1.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -38,9 +35,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/new-expression/type-parameters2.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/new-expression/type-parameters2.snap index 00544448bb1b7..cf0342b007ea8 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/new-expression/type-parameters2.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/new-expression/type-parameters2.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/new-expression/type-parameters2.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [], @@ -23,9 +20,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/ts-enum/external-ref.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/ts-enum/external-ref.snap index 91d4287383d9d..546d5d23eecab 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/ts-enum/external-ref.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/ts-enum/external-ref.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/ts-enum/external-ref.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -46,9 +43,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/ts-enum/literal-member-ref.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/ts-enum/literal-member-ref.snap index 6760beb66dea4..b33c82b4a9606 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/ts-enum/literal-member-ref.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/ts-enum/literal-member-ref.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/ts-enum/literal-member-ref.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -53,9 +50,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/ts-enum/literal-member.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/ts-enum/literal-member.snap index c58c4160930e9..6beb3b30d0541 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/ts-enum/literal-member.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/ts-enum/literal-member.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/ts-enum/literal-member.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -39,9 +36,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/ts-enum/member-ref.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/ts-enum/member-ref.snap index cc9beeccdbbf1..45e9669e6df90 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/ts-enum/member-ref.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/ts-enum/member-ref.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/ts-enum/member-ref.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -53,9 +50,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/ts-enum/scope.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/ts-enum/scope.snap index e90fc1fc0a63d..b8fe6bf0183b2 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/ts-enum/scope.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/ts-enum/scope.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/ts-enum/scope.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -46,9 +43,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/ts-enum/self-ref.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/ts-enum/self-ref.snap index 84e8d105f23e8..87d60f438a47b 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/ts-enum/self-ref.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/ts-enum/self-ref.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/ts-enum/self-ref.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -53,9 +50,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/ts-module/declaration-merging/class-namespace.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/ts-module/declaration-merging/class-namespace.snap index a32ff60b89941..4a42abde77945 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/ts-module/declaration-merging/class-namespace.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/ts-module/declaration-merging/class-namespace.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/ts-module/declaration-merging/class-namespace.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -60,9 +57,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/ts-module/declaration-merging/function-namespace.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/ts-module/declaration-merging/function-namespace.snap index da613c9dd1ea9..c3255f6e26abe 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/ts-module/declaration-merging/function-namespace.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/ts-module/declaration-merging/function-namespace.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/ts-module/declaration-merging/function-namespace.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -60,9 +57,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/ts-module/declaration-merging/namespace-variable.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/ts-module/declaration-merging/namespace-variable.snap index 8b1c6e8d12a4b..2e7009b436a93 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/ts-module/declaration-merging/namespace-variable.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/ts-module/declaration-merging/namespace-variable.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/ts-module/declaration-merging/namespace-variable.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -45,9 +42,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/ts-module/external-ref.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/ts-module/external-ref.snap index ff97181382a98..64d81c107a6fc 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/ts-module/external-ref.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/ts-module/external-ref.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/ts-module/external-ref.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -46,9 +43,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/ts-module/global-augmentation.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/ts-module/global-augmentation.snap index b32fb7382815a..b4dfe9061904b 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/ts-module/global-augmentation.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/ts-module/global-augmentation.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/ts-module/global-augmentation.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -23,9 +20,3 @@ SCOPES "symbols": [] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/ts-module/import.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/ts-module/import.snap index 65bd97e1b72a7..575aff84303f9 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/ts-module/import.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/ts-module/import.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/ts-module/import.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -39,9 +36,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/ts-module/name-shadowed-in-body.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/ts-module/name-shadowed-in-body.snap index 57055fd0f53af..152fe7acca475 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/ts-module/name-shadowed-in-body.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/ts-module/name-shadowed-in-body.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/ts-module/name-shadowed-in-body.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -53,9 +50,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/ts-module/namespace.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/ts-module/namespace.snap index 667d8d2cb4870..8258e9c938005 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/ts-module/namespace.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/ts-module/namespace.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/ts-module/namespace.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -59,9 +56,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/ts-module/scope.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/ts-module/scope.snap index 5ad5aa6df9454..c39debd1dff3c 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/ts-module/scope.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/ts-module/scope.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/ts-module/scope.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -46,9 +43,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/ts-module/self-ref.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/ts-module/self-ref.snap index 78b449744e51b..9546f715fe51f 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/ts-module/self-ref.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/ts-module/self-ref.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/ts-module/self-ref.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -46,9 +43,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-annotation/parameter-array-destructure.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-annotation/parameter-array-destructure.snap index 66f13a14b50f3..e04609217fa52 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-annotation/parameter-array-destructure.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-annotation/parameter-array-destructure.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/type-annotation/parameter-array-destructure.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -60,9 +57,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-annotation/parameter-default.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-annotation/parameter-default.snap index 0d50e2ae3d7d8..0f1122754ee76 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-annotation/parameter-default.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-annotation/parameter-default.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/type-annotation/parameter-default.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -60,9 +57,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-annotation/parameter-object-destructure.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-annotation/parameter-object-destructure.snap index 1ee0fe9a2896e..5ca5c5f59b417 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-annotation/parameter-object-destructure.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-annotation/parameter-object-destructure.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/type-annotation/parameter-object-destructure.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -60,9 +57,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-annotation/parameter-rest.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-annotation/parameter-rest.snap index 80212cc491709..f52fa919f6a4c 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-annotation/parameter-rest.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-annotation/parameter-rest.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/type-annotation/parameter-rest.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -60,9 +57,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-annotation/parameter.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-annotation/parameter.snap index a9eb32e6fbbea..14d6ad5d21f76 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-annotation/parameter.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-annotation/parameter.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/type-annotation/parameter.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -60,9 +57,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-annotation/variable-array-destructure.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-annotation/variable-array-destructure.snap index 45951c3e016a5..d8fc2972c8e7a 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-annotation/variable-array-destructure.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-annotation/variable-array-destructure.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/type-annotation/variable-array-destructure.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -45,9 +42,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-annotation/variable-const.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-annotation/variable-const.snap index cf75fbd24255c..70f12db08a37e 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-annotation/variable-const.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-annotation/variable-const.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/type-annotation/variable-const.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -45,9 +42,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-annotation/variable-let.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-annotation/variable-let.snap index 6c366e5bfeec7..3dd4c88501b7b 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-annotation/variable-let.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-annotation/variable-let.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/type-annotation/variable-let.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -45,9 +42,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-annotation/variable-object-destructure.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-annotation/variable-object-destructure.snap index 61ac5e3553818..0c196cc472376 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-annotation/variable-object-destructure.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-annotation/variable-object-destructure.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/type-annotation/variable-object-destructure.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -45,9 +42,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-annotation/variable-var.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-annotation/variable-var.snap index 7db05737c9ffa..c3281fb19812f 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-annotation/variable-var.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-annotation/variable-var.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/type-annotation/variable-var.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -45,9 +42,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-assertion/angle-bracket.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-assertion/angle-bracket.snap index 087e7af8e4d59..81789de85787b 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-assertion/angle-bracket.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-assertion/angle-bracket.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/type-assertion/angle-bracket.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -52,9 +49,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-assertion/as.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-assertion/as.snap index 7b35c943f577d..7d4c86e490780 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-assertion/as.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-assertion/as.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/type-assertion/as.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -52,9 +49,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-assertion/assignment/angle-bracket-assignment.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-assertion/assignment/angle-bracket-assignment.snap index 05b6fa6aa1fa0..d5880b8fc068d 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-assertion/assignment/angle-bracket-assignment.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-assertion/assignment/angle-bracket-assignment.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/type-assertion/assignment/angle-bracket-assignment.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [], @@ -30,9 +27,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-assertion/assignment/as-assignment.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-assertion/assignment/as-assignment.snap index 54d0133f5a7f3..ca09a447680eb 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-assertion/assignment/as-assignment.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-assertion/assignment/as-assignment.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/type-assertion/assignment/as-assignment.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [], @@ -30,9 +27,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-assertion/assignment/non-null-assignment.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-assertion/assignment/non-null-assignment.snap index d77a405dccf1d..bb2216e085637 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-assertion/assignment/non-null-assignment.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-assertion/assignment/non-null-assignment.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/type-assertion/assignment/non-null-assignment.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [], @@ -30,9 +27,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-assertion/satisfies.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-assertion/satisfies.snap index 8e38ccfe9fcd4..90f00a8bdb346 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-assertion/satisfies.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-assertion/satisfies.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/type-assertion/satisfies.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -52,9 +49,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/conditional-nested.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/conditional-nested.snap index c6d68244ae7e9..3c29b1bc18a55 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/conditional-nested.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/conditional-nested.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/conditional-nested.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -97,9 +94,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/conditional1.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/conditional1.snap index 2a344554b0c25..07de340992928 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/conditional1.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/conditional1.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/conditional1.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -83,9 +80,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/conditional2.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/conditional2.snap index c80a6d3c18848..6234579a3a75d 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/conditional2.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/conditional2.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/conditional2.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -68,9 +65,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/conditional3.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/conditional3.snap index f9adb0c9fd1fa..2e0a7878bd6ae 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/conditional3.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/conditional3.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/conditional3.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -69,9 +66,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/conditional4.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/conditional4.snap index 603aa56fc5c8d..31a63ba99e6d3 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/conditional4.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/conditional4.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/conditional4.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -69,9 +66,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/conditional5.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/conditional5.snap index 782aaa63fb174..46d67e07d61fc 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/conditional5.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/conditional5.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/conditional5.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -69,9 +66,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/dual-type-value.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/dual-type-value.snap index 1e2a89713e780..c1d5445fbece4 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/dual-type-value.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/dual-type-value.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/dual-type-value.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -65,9 +62,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/function/constructor-generics1.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/function/constructor-generics1.snap index 76e3fea9fe8f2..36faeb14ed716 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/function/constructor-generics1.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/function/constructor-generics1.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/function/constructor-generics1.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -67,9 +64,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/function/constructor-generics2.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/function/constructor-generics2.snap index 1749918540d94..6d401312fbfc8 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/function/constructor-generics2.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/function/constructor-generics2.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/function/constructor-generics2.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -67,9 +64,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/function/constructor.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/function/constructor.snap index d1263dd0bc19c..b3e1e513af4bf 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/function/constructor.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/function/constructor.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/function/constructor.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -58,9 +55,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/function/function-generics1.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/function/function-generics1.snap index 91133dc3c35ee..5e45f17b3d834 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/function/function-generics1.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/function/function-generics1.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/function/function-generics1.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -67,9 +64,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/function/function-generics2.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/function/function-generics2.snap index de4a69d44cd30..bb6cd927c7e71 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/function/function-generics2.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/function/function-generics2.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/function/function-generics2.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -67,9 +64,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/function/function1.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/function/function1.snap index d38a5683c105d..db18c69455099 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/function/function1.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/function/function1.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/function/function1.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -58,9 +55,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/function/function2.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/function/function2.snap index 03786c033232a..650922f384268 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/function/function2.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/function/function2.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/function/function2.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -45,9 +42,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/function/params/array-pattern.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/function/params/array-pattern.snap index 40dbbc9d2cef7..35cd882c92966 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/function/params/array-pattern.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/function/params/array-pattern.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/function/params/array-pattern.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -46,9 +43,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/function/params/object-pattern.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/function/params/object-pattern.snap index 7e7d4c6ce7841..a279ce73ed717 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/function/params/object-pattern.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/function/params/object-pattern.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/function/params/object-pattern.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -46,9 +43,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/function/params/rest-element.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/function/params/rest-element.snap index 9471a6ad7ac03..cef9fe0fe94a1 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/function/params/rest-element.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/function/params/rest-element.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/function/params/rest-element.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -46,9 +43,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/import-type-with-qualifier.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/import-type-with-qualifier.snap index cb04e67be4537..76db0f22c6690 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/import-type-with-qualifier.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/import-type-with-qualifier.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/import-type-with-qualifier.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -31,9 +28,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/import-type-with-type-params.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/import-type-with-type-params.snap index 126961125af77..c8dc1706620b3 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/import-type-with-type-params.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/import-type-with-type-params.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/import-type-with-type-params.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -52,9 +49,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/import-type.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/import-type.snap index 1397cbf4bb817..7c39be639919f 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/import-type.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/import-type.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/import-type.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -31,9 +28,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/index-access1.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/index-access1.snap index 944c8de2195b6..701d5f0fd427c 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/index-access1.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/index-access1.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/index-access1.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -52,9 +49,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/index-access2.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/index-access2.snap index 401fbfd898182..78ec1c37fa62b 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/index-access2.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/index-access2.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/index-access2.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -73,9 +70,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/index-access3.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/index-access3.snap index 62e567b7e69da..5bc978493a7c2 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/index-access3.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/index-access3.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/index-access3.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -66,9 +63,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/infer-type-constraint.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/infer-type-constraint.snap index e56b6ff410a7c..b56838e07a67f 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/infer-type-constraint.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/infer-type-constraint.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/infer-type-constraint.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -90,9 +87,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/interface-heritage1.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/interface-heritage1.snap index d25dea64f1b29..70c1aca8521b2 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/interface-heritage1.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/interface-heritage1.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/interface-heritage1.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -52,9 +49,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/interface-heritage2.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/interface-heritage2.snap index 0173ea2df171c..90ad6fbb54d3c 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/interface-heritage2.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/interface-heritage2.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/interface-heritage2.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -75,9 +72,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/interface1.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/interface1.snap index 14844c349ca7b..a2ae41c157374 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/interface1.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/interface1.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/interface1.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -31,9 +28,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/interface2.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/interface2.snap index 6d4266b8645af..c7061c60ebaa9 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/interface2.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/interface2.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/interface2.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -52,9 +49,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/literal-type1.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/literal-type1.snap index a3b573987c55a..1ae956a31ccf6 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/literal-type1.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/literal-type1.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/literal-type1.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -73,9 +70,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/literal-type2.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/literal-type2.snap index 2781f28613bd0..a149694b9ca6b 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/literal-type2.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/literal-type2.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/literal-type2.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -85,9 +82,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/literal-type3.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/literal-type3.snap index b2d169e8bd6f2..c8401e0b70643 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/literal-type3.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/literal-type3.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/literal-type3.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -74,9 +71,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/mapped-named.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/mapped-named.snap index bc62be758a3e1..75986edd62928 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/mapped-named.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/mapped-named.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/mapped-named.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -81,9 +78,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/mapped.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/mapped.snap index 5fc8f748b6b8e..6376d4b3a7e3f 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/mapped.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/mapped.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/mapped.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -75,9 +72,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/qualified-name.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/qualified-name.snap index 73c61cc95a240..5caeca2807c31 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/qualified-name.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/qualified-name.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/qualified-name.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -52,9 +49,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/signatures/call-generics.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/signatures/call-generics.snap index c9be28f1aea31..7dbcacc8e09c4 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/signatures/call-generics.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/signatures/call-generics.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/signatures/call-generics.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -67,9 +64,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/signatures/call.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/signatures/call.snap index ef6628cc25169..7d628604d7765 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/signatures/call.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/signatures/call.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/signatures/call.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -58,9 +55,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/signatures/construct-generics.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/signatures/construct-generics.snap index 375e5d4158813..51b759465fb83 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/signatures/construct-generics.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/signatures/construct-generics.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/signatures/construct-generics.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -75,9 +72,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/signatures/construct.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/signatures/construct.snap index 0b7270e35bab3..336418580f707 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/signatures/construct.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/signatures/construct.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/signatures/construct.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -66,9 +63,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/signatures/index-sig.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/signatures/index-sig.snap index bc80aede731b2..001046996df65 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/signatures/index-sig.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/signatures/index-sig.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/signatures/index-sig.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -52,9 +49,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/signatures/method-computed-name.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/signatures/method-computed-name.snap index 1d9dba3b2f541..3efe16b5f6484 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/signatures/method-computed-name.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/signatures/method-computed-name.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/signatures/method-computed-name.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -80,9 +77,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/signatures/method-computed-name2.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/signatures/method-computed-name2.snap index 3ee03a4a03e7f..329daddb2ccf7 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/signatures/method-computed-name2.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/signatures/method-computed-name2.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/signatures/method-computed-name2.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -68,9 +65,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/signatures/method-generics.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/signatures/method-generics.snap index 591b725128889..8e60ebfc70cce 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/signatures/method-generics.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/signatures/method-generics.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/signatures/method-generics.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -75,9 +72,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/signatures/method.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/signatures/method.snap index 7a201d179e63a..b4925d578f793 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/signatures/method.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/signatures/method.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/signatures/method.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -66,9 +63,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/signatures/property-computed-name.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/signatures/property-computed-name.snap index d194d4cbcf6c1..e06327a7a08ae 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/signatures/property-computed-name.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/signatures/property-computed-name.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/signatures/property-computed-name.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -66,9 +63,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/signatures/property-computed-name2.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/signatures/property-computed-name2.snap index 325aa0fc922e5..d58971fada77e 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/signatures/property-computed-name2.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/signatures/property-computed-name2.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/signatures/property-computed-name2.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -60,9 +57,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/signatures/property.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/signatures/property.snap index 6a121cbe5480f..f6207cfd901cf 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/signatures/property.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/signatures/property.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/signatures/property.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -52,9 +49,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/tuple-labelled-rest.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/tuple-labelled-rest.snap index ecda27478b75b..7f63345e888a7 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/tuple-labelled-rest.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/tuple-labelled-rest.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/tuple-labelled-rest.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -52,9 +49,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/tuple-labelled.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/tuple-labelled.snap index fa41e07f5493f..85722a670247b 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/tuple-labelled.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/tuple-labelled.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/tuple-labelled.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -73,9 +70,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/tuple-rest.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/tuple-rest.snap index e0bfcd4bd8d13..7f6cded2055a5 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/tuple-rest.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/tuple-rest.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/tuple-rest.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -52,9 +49,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/tuple.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/tuple.snap index 427b9f05afbb2..3959baf820160 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/tuple.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/tuple.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/tuple.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -52,9 +49,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/type-parameters/interface/body-reference.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/type-parameters/interface/body-reference.snap index 210766c7b5132..f627ed2038a59 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/type-parameters/interface/body-reference.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/type-parameters/interface/body-reference.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/type-parameters/interface/body-reference.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -46,9 +43,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/type-parameters/interface/extends-reference.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/type-parameters/interface/extends-reference.snap index 744b9e75c8688..1d19de948e380 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/type-parameters/interface/extends-reference.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/type-parameters/interface/extends-reference.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/type-parameters/interface/extends-reference.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -75,9 +72,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/type-parameters/interface/type-param-reference.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/type-parameters/interface/type-param-reference.snap index d4ba042f2938b..8182a81cd950c 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/type-parameters/interface/type-param-reference.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/type-parameters/interface/type-param-reference.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/type-parameters/interface/type-param-reference.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -53,9 +50,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/type-parameters/interface/type-parameter-declaration-extends.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/type-parameters/interface/type-parameter-declaration-extends.snap index d79032ac509f2..175be04791a0e 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/type-parameters/interface/type-parameter-declaration-extends.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/type-parameters/interface/type-parameter-declaration-extends.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/type-parameters/interface/type-parameter-declaration-extends.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -53,9 +50,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/type-parameters/interface/type-parameter-declaration.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/type-parameters/interface/type-parameter-declaration.snap index 1590b20cabf5f..61fc34b8e5ef4 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/type-parameters/interface/type-parameter-declaration.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/type-parameters/interface/type-parameter-declaration.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/type-parameters/interface/type-parameter-declaration.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -53,9 +50,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/type-parameters/tagged-template.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/type-parameters/tagged-template.snap index fa8295d1ac34c..39f63b29af38b 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/type-parameters/tagged-template.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/type-parameters/tagged-template.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/type-parameters/tagged-template.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -81,9 +78,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/type-parameters/type-decl/body-reference.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/type-parameters/type-decl/body-reference.snap index ab84c38e2363b..08edadeae5233 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/type-parameters/type-decl/body-reference.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/type-parameters/type-decl/body-reference.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/type-parameters/type-decl/body-reference.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -46,9 +43,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/type-parameters/type-decl/type-param-reference.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/type-parameters/type-decl/type-param-reference.snap index 91f23a8ff5ffd..d33e734123f38 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/type-parameters/type-decl/type-param-reference.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/type-parameters/type-decl/type-param-reference.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/type-parameters/type-decl/type-param-reference.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -53,9 +50,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/type-parameters/type-decl/type-parameter-declaration-extends.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/type-parameters/type-decl/type-parameter-declaration-extends.snap index 7f121528071c1..cfab0003a7c10 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/type-parameters/type-decl/type-parameter-declaration-extends.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/type-parameters/type-decl/type-parameter-declaration-extends.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/type-parameters/type-decl/type-parameter-declaration-extends.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -53,9 +50,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/type-parameters/type-decl/type-parameter-declaration.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/type-parameters/type-decl/type-parameter-declaration.snap index b7fe77e46ee34..91ce04b34bdfd 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/type-parameters/type-decl/type-parameter-declaration.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/type-parameters/type-decl/type-parameter-declaration.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/type-parameters/type-decl/type-parameter-declaration.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -53,9 +50,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/type-query-qualified.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/type-query-qualified.snap index 84968b33e0548..04adf79ba6f85 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/type-query-qualified.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/type-query-qualified.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/type-query-qualified.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -59,9 +56,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/type-query-with-parameters.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/type-query-with-parameters.snap index 8238c2aa379ed..df0a2c66d9372 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/type-query-with-parameters.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/type-query-with-parameters.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/type-query-with-parameters.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -96,9 +93,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/type-query.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/type-query.snap index 8ef340a6b0786..c5508b62b9fe4 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/type-query.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/type-query.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/type-query.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -59,9 +56,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/type1.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/type1.snap index 900b9d4b20419..67e7b399dbaa0 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/type1.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/type1.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/type1.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -31,9 +28,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/type2.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/type2.snap index b39d00796cff2..9716b59b85940 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/type2.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/type2.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/type2.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -52,9 +49,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/type3.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/type3.snap index 161dc61e09697..7894afc36ab39 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/type3.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/type3.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/type3.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -52,9 +49,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/typeof-import-type-with-qualifier.snap b/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/typeof-import-type-with-qualifier.snap index 28daa7bb52945..585316950ac7e 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/typeof-import-type-with-qualifier.snap +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/typeof-import-type-with-qualifier.snap @@ -1,11 +1,8 @@ --- source: crates/oxc_semantic/tests/main.rs input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaration/typeof-import-type-with-qualifier.ts +snapshot_kind: text --- -================================================================================ -SCOPES -================================================================================ - [ { "children": [ @@ -31,9 +28,3 @@ SCOPES ] } ] - -================================================================================ -CONFORMANCE -================================================================================ - -All tests passed. diff --git a/crates/oxc_semantic/tests/main.rs b/crates/oxc_semantic/tests/main.rs index ad755bfb85500..73f796be27375 100644 --- a/crates/oxc_semantic/tests/main.rs +++ b/crates/oxc_semantic/tests/main.rs @@ -114,43 +114,20 @@ fn run_scope_snapshot_test(ctx: &TestContext<'_>) -> String { serde_json::to_string_pretty(&value).unwrap() } -fn analyze(path: &Path, source_text: &str, conformance_suite: &SemanticConformance) -> String { - /// Separator between snapshot sections - const SEP: &str = - "================================================================================"; - +fn analyze( + path: &Path, + source_text: &str, + conformance_suite: &SemanticConformance, +) -> (String, String) { let allocator = Allocator::default(); let source_type = SourceType::from_path(path).unwrap(); - let ret = Parser::new(&allocator, source_text, source_type).parse(); let semantic = SemanticBuilder::new().with_check_syntax_error(true).build(&ret.program).semantic; - let ctx = TestContext { path, semantic }; - - // scope tests let scope_snapshot = run_scope_snapshot_test(&ctx); - - // conformance tests - let mut conformance_snapshot = conformance_suite.run_on_source(&ctx); - if conformance_snapshot.is_empty() { - conformance_snapshot = "All tests passed.".to_string(); - } - - format!( - "{SEP} -SCOPES -{SEP} - -{scope_snapshot} - -{SEP} -CONFORMANCE -{SEP} - -{conformance_snapshot} -" - ) + let conformance_snapshot = conformance_suite.run_on_source(&ctx); + (scope_snapshot, conformance_snapshot) } /// # Panics @@ -160,10 +137,19 @@ fn main() { insta::glob!("fixtures/**/*.{js,jsx,ts,tsx}", |path| { let source_text = fs::read_to_string(path).unwrap(); let conformance_suite = conformance::conformance_suite(); - let snapshot = analyze(path, &source_text, &conformance_suite); + let (scope_snapshot, conformance_snapshot) = + analyze(path, &source_text, &conformance_suite); + let name = path.file_stem().unwrap().to_str().unwrap(); + insta::with_settings!({ snapshot_path => path.parent().unwrap(), prepend_module_to_snapshot => false, snapshot_suffix => "", omit_expression => true }, { - insta::assert_snapshot!(name, snapshot); + insta::assert_snapshot!(name, scope_snapshot); }); + + if !conformance_snapshot.is_empty() { + insta::with_settings!({ snapshot_path => path.parent().unwrap(), prepend_module_to_snapshot => false, snapshot_suffix => "", omit_expression => true }, { + insta::assert_snapshot!(format!("{name}.fail"), conformance_snapshot); + }); + } }); }