Repository navigation
fix(powerline): detect Nerd Fonts v3 names and fonts in font subfolders #1138
Annotations
10 errors and 2 notices
|
error: Received value must be an array type, or both received and expected values must be strings.:
src/utils/__tests__/config.test.ts#L346
at <anonymous> (/home/runner/work/ccstatusline/ccstatusline/src/utils/__tests__/config.test.ts:346:49)
|
|
error: expect(received).toHaveBeenCalledWith(...expected):
src/utils/__tests__/config.test.ts#L320
[
- StringContaining "Error loading settings",
- Anything,
+ "Failed to write default settings:",
+ [Error: EISDIR: illegal operation on a directory, rename '/tmp/ccstatusline-config-test-home-CuI7RT/.config/ccstatusline/settings.json.2335.1792032846149.tmp' -> '/tmp/ccstatusline-config-test-home-CuI7RT/.config/ccstatusline/settings.json'],
]
- Expected - 2
+ Received + 2
at <anonymous> (/home/runner/work/ccstatusline/ccstatusline/src/utils/__tests__/config.test.ts:320:33)
|
|
error: expect(received).toBe(expected):
src/utils/__tests__/config.test.ts#L303
- "{"version":null,"lines":[[{"id":"widget-1","type":"model"}]],"powerline":{"enabled":true},"minimalistMode":true}"
+ "{
+ "version": 4,
+ "lines": [
+ [
+ {
+ "id": "1",
+ "type": "model",
+ "color": "cyan"
+ },
+ {
+ "id": "2",
+ "type": "separator"
+ },
+ {
+ "id": "3",
+ "type": "context-length",
+ "color": "brightBlack"
+ },
+ {
+ "id": "4",
+ "type": "separator"
+ },
+ {
+ "id": "5",
+ "type": "git-branch",
+ "color": "magenta"
+ },
+ {
+ "id": "6",
+ "type": "separator"
+ },
+ {
+ "id": "7",
+ "type": "git-changes",
+ "color": "yellow"
+ }
+ ],
+ [],
+ []
+ ],
+ "flexMode": "full",
+ "compactThreshold": 60,
+ "colorLevel": 2,
+ "defaultPaddingSide": "both",
+ "inheritSeparatorColors": false,
+ "globalBold": false,
+ "gitCacheTtlSeconds": 5,
+ "terminalWidthCacheTtlSeconds": 5,
+ "customCommandCacheTtlSeconds": 0,
+ "minimalistMode": false,
+ "powerline": {
+ "enabled": false,
+ "separators": [
+ ""
+ ],
+ "separatorInvertBackground": [
+ false
+ ],
+ "startCaps": [],
+ "endCaps": [],
+ "autoAlign": false,
+ "continueThemeAcrossLines": false
+ }
+ }"
- Expected - 1
+ Received + 64
at <anonymous> (/home/runner/work/ccstatusline/ccstatusline/src/utils/__tests__/config.test.ts:303:56)
|
|
error: expect(received).toBe(expected):
src/utils/__tests__/config.test.ts#L303
- "{"version":"4","lines":[[{"id":"widget-1","type":"model"}]],"powerline":{"enabled":true},"minimalistMode":true}"
+ "{
+ "version": 4,
+ "lines": [
+ [
+ {
+ "id": "1",
+ "type": "model",
+ "color": "cyan"
+ },
+ {
+ "id": "2",
+ "type": "separator"
+ },
+ {
+ "id": "3",
+ "type": "context-length",
+ "color": "brightBlack"
+ },
+ {
+ "id": "4",
+ "type": "separator"
+ },
+ {
+ "id": "5",
+ "type": "git-branch",
+ "color": "magenta"
+ },
+ {
+ "id": "6",
+ "type": "separator"
+ },
+ {
+ "id": "7",
+ "type": "git-changes",
+ "color": "yellow"
+ }
+ ],
+ [],
+ []
+ ],
+ "flexMode": "full",
+ "compactThreshold": 60,
+ "colorLevel": 2,
+ "defaultPaddingSide": "both",
+ "inheritSeparatorColors": false,
+ "globalBold": false,
+ "gitCacheTtlSeconds": 5,
+ "terminalWidthCacheTtlSeconds": 5,
+ "customCommandCacheTtlSeconds": 0,
+ "minimalistMode": false,
+ "powerline": {
+ "enabled": false,
+ "separators": [
+ ""
+ ],
+ "separatorInvertBackground": [
+ false
+ ],
+ "startCaps": [],
+ "endCaps": [],
+ "autoAlign": false,
+ "continueThemeAcrossLines": false
+ }
+ }"
- Expected - 1
+ Received + 64
at <anonymous> (/home/runner/work/ccstatusline/ccstatusline/src/utils/__tests__/config.test.ts:303:56)
|
|
error: expect(received).toBe(expected):
src/utils/__tests__/config.test.ts#L276
- "{"version":4,"lines":42}"
+ "{
+ "version": 4,
+ "lines": [
+ [
+ {
+ "id": "1",
+ "type": "model",
+ "color": "cyan"
+ },
+ {
+ "id": "2",
+ "type": "separator"
+ },
+ {
+ "id": "3",
+ "type": "context-length",
+ "color": "brightBlack"
+ },
+ {
+ "id": "4",
+ "type": "separator"
+ },
+ {
+ "id": "5",
+ "type": "git-branch",
+ "color": "magenta"
+ },
+ {
+ "id": "6",
+ "type": "separator"
+ },
+ {
+ "id": "7",
+ "type": "git-changes",
+ "color": "yellow"
+ }
+ ],
+ [],
+ []
+ ],
+ "flexMode": "full",
+ "compactThreshold": 60,
+ "colorLevel": 2,
+ "defaultPaddingSide": "both",
+ "inheritSeparatorColors": false,
+ "globalBold": false,
+ "gitCacheTtlSeconds": 5,
+ "terminalWidthCacheTtlSeconds": 5,
+ "customCommandCacheTtlSeconds": 0,
+ "minimalistMode": false,
+ "powerline": {
+ "enabled": false,
+ "separators": [
+ ""
+ ],
+ "separatorInvertBackground": [
+ false
+ ],
+ "startCaps": [],
+ "endCaps": [],
+ "autoAlign": false,
+ "continueThemeAcrossLines": false
+ }
+ }"
- Expected - 1
+ Received + 64
at <anonymous> (/home/runner/work/ccstatusline/ccstatusline/src/utils/__tests__/config.test.ts:276:56)
|
|
error: expect(received).toBe(expected):
src/utils/__tests__/config.test.ts#L257
- "{"flexMode":123}"
+ "{
+ "version": 4,
+ "lines": [
+ [
+ {
+ "id": "1",
+ "type": "model",
+ "color": "cyan"
+ },
+ {
+ "id": "2",
+ "type": "separator"
+ },
+ {
+ "id": "3",
+ "type": "context-length",
+ "color": "brightBlack"
+ },
+ {
+ "id": "4",
+ "type": "separator"
+ },
+ {
+ "id": "5",
+ "type": "git-branch",
+ "color": "magenta"
+ },
+ {
+ "id": "6",
+ "type": "separator"
+ },
+ {
+ "id": "7",
+ "type": "git-changes",
+ "color": "yellow"
+ }
+ ],
+ [],
+ []
+ ],
+ "flexMode": "full",
+ "compactThreshold": 60,
+ "colorLevel": 2,
+ "defaultPaddingSide": "both",
+ "inheritSeparatorColors": false,
+ "globalBold": false,
+ "gitCacheTtlSeconds": 5,
+ "terminalWidthCacheTtlSeconds": 5,
+ "customCommandCacheTtlSeconds": 0,
+ "minimalistMode": false,
+ "powerline": {
+ "enabled": false,
+ "separators": [
+ ""
+ ],
+ "separatorInvertBackground": [
+ false
+ ],
+ "startCaps": [],
+ "endCaps": [],
+ "autoAlign": false,
+ "continueThemeAcrossLines": false
+ }
+ }"
- Expected - 1
+ Received + 64
at <anonymous> (/home/runner/work/ccstatusline/ccstatusline/src/utils/__tests__/config.test.ts:257:56)
|
|
error: expect(received).toBe(expected):
src/utils/__tests__/config.test.ts#L237
- "{ invalid json"
+ "{
+ "version": 4,
+ "lines": [
+ [
+ {
+ "id": "1",
+ "type": "model",
+ "color": "cyan"
+ },
+ {
+ "id": "2",
+ "type": "separator"
+ },
+ {
+ "id": "3",
+ "type": "context-length",
+ "color": "brightBlack"
+ },
+ {
+ "id": "4",
+ "type": "separator"
+ },
+ {
+ "id": "5",
+ "type": "git-branch",
+ "color": "magenta"
+ },
+ {
+ "id": "6",
+ "type": "separator"
+ },
+ {
+ "id": "7",
+ "type": "git-changes",
+ "color": "yellow"
+ }
+ ],
+ [],
+ []
+ ],
+ "flexMode": "full",
+ "compactThreshold": 60,
+ "colorLevel": 2,
+ "defaultPaddingSide": "both",
+ "inheritSeparatorColors": false,
+ "globalBold": false,
+ "gitCacheTtlSeconds": 5,
+ "terminalWidthCacheTtlSeconds": 5,
+ "customCommandCacheTtlSeconds": 0,
+ "minimalistMode": false,
+ "powerline": {
+ "enabled": false,
+ "separators": [
+ ""
+ ],
+ "separatorInvertBackground": [
+ false
+ ],
+ "startCaps": [],
+ "endCaps": [],
+ "autoAlign": false,
+ "continueThemeAcrossLines": false
+ }
+ }"
- Expected - 1
+ Received + 64
at <anonymous> (/home/runner/work/ccstatusline/ccstatusline/src/utils/__tests__/config.test.ts:237:56)
|
|
error: expect(received).toBeTruthy():
src/utils/__tests__/config.test.ts#L132
Received: ""
at <anonymous> (/home/runner/work/ccstatusline/ccstatusline/src/utils/__tests__/config.test.ts:132:37)
|
|
error: expect(received).toBe(expected):
src/utils/__tests__/config.test.ts#L97
Expected: true
Received: false
at <anonymous> (/home/runner/work/ccstatusline/ccstatusline/src/utils/__tests__/config.test.ts:97:45)
|
|
error: expect(received).toEqual(expected):
src/utils/__tests__/compaction.test.ts#L167
{
"byTrigger": {
- "auto": 1,
- "manual": 1,
+ "auto": 0,
+ "manual": 0,
"unknown": 0,
},
- "count": 2,
- "tokensReclaimed": 1694519,
+ "count": 0,
+ "tokensReclaimed": 0,
}
- Expected - 4
+ Received + 4
at <anonymous> (/home/runner/work/ccstatusline/ccstatusline/src/utils/__tests__/compaction.test.ts:167:57)
|
|
Lint & Type Check
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"
|
|
Test
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"
|