We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 29dbabe commit d21c078Copy full SHA for d21c078
src/testRunner/unittests/convertToAsyncFunction.ts
@@ -362,11 +362,11 @@ interface Array<T> {}`
362
363
const diagnostics = languageService.getSuggestionDiagnostics(f.path);
364
const diagnostic = find(diagnostics, diagnostic => diagnostic.messageText === description.message);
365
- assert.isNotNull(diagnostic);
+ assert.exists(diagnostic);
366
367
const actions = codefix.getFixes(context);
368
const action = find(actions, action => action.description === description.message)!;
369
- assert.isNotNull(action);
+ assert.exists(action);
370
371
const data: string[] = [];
372
data.push(`// ==ORIGINAL==`);
0 commit comments