We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e3bb5d3 commit a1be5a4Copy full SHA for a1be5a4
1 file changed
src/harness/unittests/cachingInServerLSHost.ts
@@ -123,7 +123,7 @@ namespace ts {
123
try {
124
// trigger synchronization to make sure that LSHost will try to find 'f2' module on disk
125
project.getLanguageService().getSemanticDiagnostics(imported.name);
126
- assert.fail(false, `should not find file '${imported.name}'`);
+ assert.isTrue(false, `should not find file '${imported.name}'`);
127
}
128
catch (e) {
129
assert.isTrue(e.message.indexOf(`Could not find file: '${imported.name}'.`) === 0);
@@ -203,4 +203,4 @@ namespace ts {
203
assert.isTrue(diags.length === 0);
204
});
205
206
-}
+}
0 commit comments