chore: Standardize code, comments and docs on US-English spelling (#2707)
This commit is contained in:
@@ -1373,8 +1373,8 @@ describe('answer', () => {
|
||||
|
||||
expect(getRingtone().stop).toHaveBeenCalled();
|
||||
|
||||
// Timer was armed and should now be cancelled: advancing past the
|
||||
// timeout must not end the (now-answered) call.
|
||||
// Timer was armed and should now be canceled: advancing past the timeout
|
||||
// must not end the (now-answered) call.
|
||||
vi.advanceTimersByTime(60_000);
|
||||
expect(manager.isActive()).toBe(true);
|
||||
} finally {
|
||||
|
||||
@@ -12,8 +12,8 @@ interface AudioMocks {
|
||||
}
|
||||
|
||||
// Uses real jsdom HTMLAudioElement instances and only stubs the parts jsdom
|
||||
// can't fulfil (`play()` / `pause()` -- no audio backend). Tests then exercise
|
||||
// observable behaviour: registered listeners fire via `dispatchEvent`, property
|
||||
// can't fulfill (`play()` / `pause()` -- no audio backend). Tests then exercise
|
||||
// observable behavior: registered listeners fire via `dispatchEvent`, property
|
||||
// writes round-trip on the element, etc.
|
||||
//
|
||||
// Called once at module load. The `beforeEach`/`afterEach` calls inside this
|
||||
|
||||
Reference in New Issue
Block a user