test: Add importAssertions to TS tests and update TS tests (#14127)
This commit is contained in:
parent
1c32b670ce
commit
04f3f17556
2
Makefile
2
Makefile
@ -1,6 +1,6 @@
|
||||
FLOW_COMMIT = 92bbb5e9dacb8185aa73ea343954d0434b42c40b
|
||||
TEST262_COMMIT = 46f165ae490de7f1343165ab8d228db81eaa02c5
|
||||
TYPESCRIPT_COMMIT = bbd9ff51f5fa5208b223bbb75a94e5e8184e3ffd
|
||||
TYPESCRIPT_COMMIT = b53073bf66571b4c99f0a93b8f76fb06b36d8991
|
||||
|
||||
# Fix color output until TravisCI fixes https://github.com/travis-ci/travis-ci/issues/7967
|
||||
export FORCE_COLOR = true
|
||||
|
||||
@ -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");
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user