mirror of
https://github.com/microsoft/TypeScript.git
synced 2025-11-18 17:21:48 +00:00
Update baselines
This commit is contained in:
@@ -72,6 +72,8 @@ export function getFsContentsForNode10Result(): FsContents {
|
||||
`,
|
||||
"/home/src/projects/project/tsconfig.json": JSON.stringify({
|
||||
compilerOptions: {
|
||||
target: "es5",
|
||||
module: "node16",
|
||||
moduleResolution: "node16",
|
||||
traceResolution: true,
|
||||
incremental: true,
|
||||
@@ -82,4 +84,4 @@ export function getFsContentsForNode10Result(): FsContents {
|
||||
}),
|
||||
[libFile.path]: libFile.content,
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
@@ -295,6 +295,8 @@ a;b;
|
||||
}),
|
||||
"/Users/name/projects/web/tsconfig.json": JSON.stringify({
|
||||
compilerOptions: {
|
||||
target: "es5",
|
||||
module: "nodenext",
|
||||
moduleResolution: "nodenext",
|
||||
forceConsistentCasingInFileNames: true,
|
||||
traceResolution: true,
|
||||
|
||||
@@ -89,6 +89,8 @@ describe("unittests:: tsc-watch:: moduleResolution", () => {
|
||||
path: `/user/username/projects/myproject/tsconfig.json`,
|
||||
content: JSON.stringify({
|
||||
compilerOptions: {
|
||||
target: "es5",
|
||||
module: "nodenext",
|
||||
moduleResolution: "nodenext",
|
||||
outDir: "./dist",
|
||||
declaration: true,
|
||||
@@ -282,7 +284,7 @@ describe("unittests:: tsc-watch:: moduleResolution", () => {
|
||||
{
|
||||
path: `/user/username/projects/myproject/tsconfig.json`,
|
||||
content: JSON.stringify({
|
||||
compilerOptions: { moduleResolution: "node16" },
|
||||
compilerOptions: { module: "node16", moduleResolution: "node16" },
|
||||
})
|
||||
},
|
||||
{
|
||||
@@ -352,7 +354,7 @@ describe("unittests:: tsc-watch:: moduleResolution", () => {
|
||||
{
|
||||
path: `/user/username/projects/myproject/tsconfig.json`,
|
||||
content: JSON.stringify({
|
||||
compilerOptions: { moduleResolution: "node16" },
|
||||
compilerOptions: { module: "node16", moduleResolution: "node16" },
|
||||
})
|
||||
},
|
||||
{
|
||||
@@ -538,4 +540,4 @@ describe("unittests:: tsc-watch:: moduleResolution", () => {
|
||||
},
|
||||
]
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user