Skip to content

Commit

Permalink
review comments
Browse files Browse the repository at this point in the history
TestMessage location can be undefined, so the TestMessage.is() was returning false despite being one.
  • Loading branch information
rschnekenbu committed Dec 20, 2023
1 parent 774b506 commit 91fb671
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/test/src/browser/test-service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ export interface TestMessage {

export namespace TestMessage {
export function is(obj: unknown): obj is TestMessage {
return isObject<TestMessage>(obj) && (MarkdownString.is(obj.message) || typeof obj.message === 'string') && Location.is(obj.location);
return isObject<TestMessage>(obj) && (MarkdownString.is(obj.message) || typeof obj.message === 'string');
}
}

Expand Down

0 comments on commit 91fb671

Please sign in to comment.