You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/testRunner/unittests/config/showConfig.ts
+20Lines changed: 20 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -53,6 +53,26 @@ namespace ts {
53
53
54
54
showTSConfigCorrectly("Show TSConfig with advanced options",["--showConfig","--declaration","--declarationDir","lib","--skipLibCheck","--noErrorTruncation"]);
55
55
56
+
showTSConfigCorrectly("Show TSConfig with compileOnSave and more",["-p","tsconfig.json"],{
57
+
compilerOptions: {
58
+
esModuleInterop: true,
59
+
target: "es5",
60
+
module: "commonjs",
61
+
strict: true,
62
+
},
63
+
compileOnSave: true,
64
+
exclude: [
65
+
"dist"
66
+
],
67
+
files: [],
68
+
include: [
69
+
"src/*"
70
+
],
71
+
references: [
72
+
{path: "./test"}
73
+
],
74
+
});
75
+
56
76
// Regression test for https://github.com/Microsoft/TypeScript/issues/28836
57
77
showTSConfigCorrectly("Show TSConfig with paths and more",["-p","tsconfig.json"],{
0 commit comments