Skip to content

Commit 3847694

Browse files
committed
copilot feedback
Signed-off-by: Jens Reinecke <[email protected]>
1 parent cef50ac commit 3847694

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/debug-session/gdbtarget-debug-tracker.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,7 @@ describe('GDBTargetDebugTracker', () => {
297297

298298
it.each([
299299
{ eventName: 'stopped', eventData: { event: 'stopped', type: 'event', seq: 1, body: { reason: 'step' } } },
300-
{ eventName: 'terminated', eventData: { event: 'terminated', type: 'event', seq: 1, body: { } } }, // Does't pass optional 'restart' property
300+
{ eventName: 'terminated', eventData: { event: 'terminated', type: 'event', seq: 1, body: { } } }, // Doesn't pass optional 'restart' property
301301
{ eventName: 'exited', eventData: { event: 'exited', type: 'event', seq: 1, body: { exitCode: 0 } } },
302302
])('starts refresh timer on session continued event, and stops on $eventName event', async ({ eventData }) => {
303303
expect(gdbSession).toBeDefined();

src/debug-session/periodic-refresh-timer.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ describe('PeriodicRefreshTimer', () => {
7575
refreshTimer.stop();
7676
// Between one and two calls should have been made.
7777
// Timing sensitive, so only check we are in an expected range rather
78-
// than full accurracy.
78+
// than full accuracy.
7979
expect(refreshListener.mock.calls.length).toBeGreaterThanOrEqual(1);
8080
expect(refreshListener.mock.calls.length).toBeLessThanOrEqual(2);
8181
expect(refreshListener).toHaveBeenCalledWith('test-timer');

src/features/cpu-states/cpu-states.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,7 @@ describe('CpuStates', () => {
273273
expect(await cpuStates.getActiveTimeString()).toEqual(' 0 states');
274274
});
275275

276-
it('captures states for periodic refreshs but does not add to history', async () => {
276+
it('captures states for periodic refreshes but does not add to history', async () => {
277277
const debugConsoleOutput: string[] = [];
278278
(vscode.debug.activeDebugConsole.appendLine as jest.Mock).mockImplementation(line => debugConsoleOutput.push(line));
279279

0 commit comments

Comments
 (0)