(minor) fix comment, comment typo
This commit is contained in:
parent
626a4741c0
commit
7508cd796d
|
@ -99,7 +99,7 @@ export class MockedD3 {
|
|||
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
|
||||
// Real implementation returns an HTML Element
|
||||
public node = vi.fn().mockImplementation(() => {
|
||||
|
|
|
@ -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 cssClass - CSS class for the <text> element containing the title
|
||||
|
|
Loading…
Reference in New Issue