test: Add importAssertions to TS tests and update TS tests (#14127)
This commit is contained in:
@@ -29,6 +29,7 @@ anyDeclare.ts
|
||||
argumentsBindsToFunctionScopeArgumentList.ts
|
||||
argumentsReferenceInConstructor4_Js.ts
|
||||
argumentsReferenceInMethod4_Js.ts
|
||||
argumentsReferenceInObjectLiteral_Js.ts
|
||||
arrayOfExportedClass.ts
|
||||
asiAbstract.ts
|
||||
asyncFunctionsAcrossFiles.ts
|
||||
@@ -154,6 +155,7 @@ duplicateLabel2.ts
|
||||
duplicateVarAndImport.ts
|
||||
duplicateVarAndImport2.ts
|
||||
duplicateVarsAcrossFileBoundaries.ts
|
||||
dynamicImportTrailingComma.ts
|
||||
dynamicNames.ts
|
||||
elidedEmbeddedStatementsReplacedWithSemicolon.ts
|
||||
emitClassMergedWithConstNamespaceNotElided.ts
|
||||
@@ -248,6 +250,7 @@ importAsBaseClass.ts
|
||||
importDecl.ts
|
||||
importDeclWithClassModifiers.ts
|
||||
importDeclWithDeclareModifierInAmbientContext.ts
|
||||
importEqualsError45874.ts
|
||||
importHelpers.ts
|
||||
importHelpersAmd.ts
|
||||
importHelpersES6.ts
|
||||
@@ -407,6 +410,7 @@ redeclareParameterInCatchBlock.ts
|
||||
reexportedMissingAlias.ts
|
||||
relativeNamesInClassicResolution.ts
|
||||
requireAsFunctionInExternalModule.ts
|
||||
reservedWords3.ts
|
||||
restParamModifier2.ts
|
||||
shadowedReservedCompilerDeclarationsWithNoEmit.ts
|
||||
shorthandPropertyAssignmentInES6Module.ts
|
||||
|
||||
@@ -16,7 +16,7 @@ async function* loadTests(dir) {
|
||||
}
|
||||
}
|
||||
|
||||
const plugins = ["typescript", "decorators-legacy"];
|
||||
const plugins = ["typescript", "decorators-legacy", "importAssertions"];
|
||||
|
||||
const TSTestsPath = path.join(dirname, "../../../build/typescript/tests");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user