Skip to content

Commit fad8f67

Browse files
committed
Lint
1 parent 5065c54 commit fad8f67

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

src/harness/unittests/tsbuild.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -199,26 +199,26 @@ namespace ts {
199199
const fs = projFs.shadow();
200200
const host = new fakes.CompilerHost(fs);
201201
const builder = createSolutionBuilder(host, ["/src/tests"], reportDiagnostic, { dry: false, force: false, verbose: false });
202-
202+
203203
clearDiagnostics();
204204
builder.buildAllProjects();
205205
assertDiagnosticMessages(/*empty*/);
206-
206+
207207
// Update a timestamp in the middle project
208208
tick();
209209
touch(fs, "/src/logic/index.ts");
210210
// Because we haven't reset the build context, the builder should assume there's nothing to do right now
211211
const status = builder.getUpToDateStatusOfFile(builder.resolveProjectName("/src/logic")!);
212212
assert.equal(status.type, UpToDateStatusType.UpToDate, "Project should be assumed to be up-to-date");
213-
213+
214214
// Rebuild this project
215215
tick();
216216
builder.invalidateProject("/src/logic");
217217
builder.buildInvalidatedProjects();
218218
// The file should be updated
219219
assert.equal(fs.statSync("/src/logic/index.js").mtimeMs, time(), "JS file should have been rebuilt");
220220
assert.isBelow(fs.statSync("/src/tests/index.js").mtimeMs, time(), "Downstream JS file should *not* have been rebuilt");
221-
221+
222222
// Build downstream projects should update 'tests', but not 'core'
223223
tick();
224224
builder.buildDependentInvalidatedProjects();
@@ -247,7 +247,7 @@ namespace ts {
247247
for (const file of files) {
248248
it(`Generates files matching the baseline - ${file}`, () => {
249249
Harness.Baseline.runBaseline(getBaseFileName(file), () => {
250-
return fs.readFileSync(file, 'utf-8');
250+
return fs.readFileSync(file, "utf-8");
251251
});
252252
});
253253
}

0 commit comments

Comments
 (0)