We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bfbc053 commit f2ebbc9Copy full SHA for f2ebbc9
packages/webview/src/component/pods/PodLogs.spec.ts
@@ -255,9 +255,8 @@ describe('PodLogs', () => {
255
});
256
257
const writtenLog = vi.mocked(mockedTerminal.write).mock.calls[0][0] as string;
258
- // 'a' should be padded with spaces to match 'longername' length (10 chars)
259
- // Format: <padding><colored-name>|<log>
260
- expect(writtenLog).toContain('\u001b[36ma\u001b[0m|short name log');
+ const nineSpaces = ' '; // 9 spaces to pad 'a' to length of 'longername'
+ expect(writtenLog).equals(nineSpaces + '\u001b[36ma\u001b[0m|short name log\r');
261
262
263
0 commit comments