(minor) fix comment, comment typo

This commit is contained in:
Ashley Engelund (weedySeaDragon @ github) 2022-11-27 10:13:32 -08:00
parent 626a4741c0
commit 7508cd796d
2 changed files with 2 additions and 2 deletions

View File

@ -99,7 +99,7 @@ export class MockedD3 {
return this; return this;
} }
// NOTE: Returns a HTML ELement with tag 'svg' that has _another_ 'svg' element child. // NOTE: Returns a HTML Element with tag 'svg' that has _another_ 'svg' element child.
// This allows different tests to succeed -- some need a top level 'svg' and some need a 'svg' element to be the firstChild // This allows different tests to succeed -- some need a top level 'svg' and some need a 'svg' element to be the firstChild
// Real implementation returns an HTML Element // Real implementation returns an HTML Element
public node = vi.fn().mockImplementation(() => { public node = vi.fn().mockImplementation(() => {

View File

@ -915,7 +915,7 @@ export function getErrorMessage(error: unknown): string {
} }
/** /**
* Appends <text> element with the given title, centered. * Appends <text> element with the given title and css class.
* *
* @param parent - d3 svg object to append title to * @param parent - d3 svg object to append title to
* @param cssClass - CSS class for the <text> element containing the title * @param cssClass - CSS class for the <text> element containing the title