Refactor model selection/config helpers and tests #74
ci.yml
on: push
code-quality
28s
Matrix: test
deploy-production
deploy-staging
Annotations
8 errors and 2 warnings
|
test (20)
Process completed with exit code 1.
|
|
src/hooks/useSettings.test.tsx > useSettings > SettingsProvider > should check server for API key on mount:
src/hooks/useSettings.test.tsx#L67
AssertionError: expected "vi.fn()" to be called with arguments: [ '/api/key', ObjectContaining{…} ]
Received:
1st vi.fn() call:
[
"/api/key",
- ObjectContaining {
+ {
"credentials": "include",
"headers": {
- "X-Requested-With": "fetch",
+ "x-requested-with": "fetch",
},
},
]
Number of calls: 1
Ignored nodes: comments, script, style
<html>
<head />
<body>
<div />
</body>
</html>
❯ src/hooks/useSettings.test.tsx:67:35
❯ runWithExpensiveErrorDiagnosticsDisabled node_modules/@testing-library/dom/dist/config.js:47:12
❯ checkCallback node_modules/@testing-library/dom/dist/wait-for.js:124:77
❯ Timeout.checkRealTimersCallback node_modules/@testing-library/dom/dist/wait-for.js:118:16
|
|
test (22)
The strategy configuration was canceled because "test._20" failed
|
|
test (22)
The operation was canceled.
|
|
src/hooks/useSettings.test.tsx > useSettings > SettingsProvider > should check server for API key on mount:
src/hooks/useSettings.test.tsx#L67
AssertionError: expected "vi.fn()" to be called with arguments: [ '/api/key', ObjectContaining{…} ]
Received:
1st vi.fn() call:
[
"/api/key",
- ObjectContaining {
+ {
"credentials": "include",
"headers": {
- "X-Requested-With": "fetch",
+ "x-requested-with": "fetch",
},
},
]
Number of calls: 1
Ignored nodes: comments, script, style
<html>
<head />
<body>
<div />
</body>
</html>
❯ src/hooks/useSettings.test.tsx:67:35
❯ runWithExpensiveErrorDiagnosticsDisabled node_modules/@testing-library/dom/dist/config.js:47:12
❯ checkCallback node_modules/@testing-library/dom/dist/wait-for.js:124:77
❯ Timeout.checkRealTimersCallback node_modules/@testing-library/dom/dist/wait-for.js:118:16
|
|
security
Process completed with exit code 1.
|
|
security
Process completed with exit code 1.
|
|
e2e
Process completed with exit code 1.
|
|
test (20)
No files were found with the provided path: coverage/
test-results/. No artifacts will be uploaded.
|
|
test (22)
No files were found with the provided path: coverage/
test-results/. No artifacts will be uploaded.
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
playwright-report
|
26.2 MB |
sha256:519494e60f13c403962df704ac37d14a8b7ad138c594a32b349580f78294c512
|
|