Skip to content

Commit 2677b01

Browse files
committed
Fix non-baseline tests
1 parent 17eb13d commit 2677b01

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/testRunner/unittests/tscWatch/incremental.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -177,19 +177,19 @@ describe("unittests:: tsc-watch:: emit file --incremental", () => {
177177
version: system.createHash(libFile.content),
178178
signature: system.createHash(libFile.content),
179179
affectsGlobalScope: true,
180-
impliedFormat: ts.ModuleKind.CommonJS,
180+
impliedFormat: undefined,
181181
});
182182
assert.deepEqual(builderProgram.state.fileInfos.get(file1.path as ts.Path), {
183183
version: system.createHash(file1.content),
184184
signature: system.createHash(file1.content),
185185
affectsGlobalScope: undefined,
186-
impliedFormat: ts.ModuleKind.CommonJS,
186+
impliedFormat: undefined,
187187
});
188188
assert.deepEqual(builderProgram.state.fileInfos.get(file2.path as ts.Path), {
189189
version: system.createHash(fileModified.content),
190190
signature: system.createHash(fileModified.content),
191191
affectsGlobalScope: undefined,
192-
impliedFormat: ts.ModuleKind.CommonJS,
192+
impliedFormat: undefined,
193193
});
194194

195195
assert.deepEqual(builderProgram.state.compilerOptions, {

tests/cases/fourslash/moveToNewFile_importFileExtensions.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
// @Filename: /tsconfig.json
44
////{
55
//// "compilerOptions": {
6-
//// "moduleResolution": "Node16",
6+
//// "module": "Node16",
77
//// }
88
////}
99

0 commit comments

Comments
 (0)