feat: add official test utils for remote functions #28337
ci.yml
on: pull_request
pkg-pr-new
1m 6s
lint-all
2m 38s
Matrix: test-kit-cross-browser
Matrix: test-kit-server-side-route-resolution
Matrix: test-kit-svelte-async
Matrix: test-kit
Matrix: test-others
Annotations
11 errors, 17 warnings, and 1 notice
|
test-kit (18, ubuntu-latest, chromium, baseline)
Process completed with exit code 1.
|
|
lint-all:
packages/kit/test/apps/async/test/mock.component.test.js#L43
'e' is defined but never used
|
|
lint-all:
packages/kit/src/exports/test/vitest.spec.js#L111
Async method 'resolve' has no 'await' expression
|
|
lint-all:
packages/kit/src/exports/test/vitest.spec.js#L83
Async method 'resolve' has no 'await' expression
|
|
lint-all:
packages/kit/src/exports/test/vitest.spec.js#L21
Promises must be awaited, end with a call to .catch, end with a call to .then with a rejection handler or be explicitly marked as ignored with the `void` operator
|
|
lint-all:
packages/kit/src/exports/test/vitest.js#L153
Unexpected use of the global variable 'process'. Use 'require("process")' instead
|
|
lint-all:
packages/kit/src/exports/test/vitest.js#L121
Unexpected use of the global variable 'process'. Use 'require("process")' instead
|
|
lint-all:
packages/kit/src/exports/test/stubs/server.js#L4
'manifest' is never reassigned. Use 'const' instead
|
|
lint-all:
packages/kit/src/exports/test/stubs/server.js#L3
'read_implementation' is never reassigned. Use 'const' instead
|
|
lint-all:
packages/kit/src/exports/test/stubs/remote.svelte.js#L205
'pending_count' is never reassigned. Use 'const' instead
|
|
lint-all:
packages/kit/src/exports/test/index.js#L296
Async function 'callRemote' has no 'await' expression
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
pkg-pr-new
{
"workflowData": {
"owner": "sveltejs",
"repo": "kit",
"sha": "051f676797df280d31ef676ea7b21ed19d1a70c3",
"ref": "15671"
},
"key": "tccZWFwjHn",
"runId": 24109067987,
"webhookDebug": {
"action": "requested",
"head_branch": "test-utils-pr",
"head_repository_full_name": "brendan-morin/kit",
"full_name": "sveltejs/kit",
"isPullRequest": true,
"prNumber": 15671,
"prNumberType": "number",
"isNewPullRequest": true,
"isOldPullRequest": false,
"prKey": "brendan-morin/kit:test-utils-pr",
"oldPrDataHash": "F5b87f1Ekk",
"lookupKey": "brendan-morin/kit:test-utils-pr",
"data": {
"owner": "sveltejs",
"repo": "kit",
"sha": "051f676797df280d31ef676ea7b21ed19d1a70c3",
"ref": "15671"
}
}
}
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
test-failure-24109067987-ubuntu-latest-18-chromium-vite-baseline
Expired
|
380 Bytes |
sha256:339c95f9f269c43f7010a8c60c2a55d821ee867bb288e31d5e47a4722250134d
|
|