Skip to content

perf: avoid cheerio in favor of regex #630

perf: avoid cheerio in favor of regex

perf: avoid cheerio in favor of regex #630

Triggered via pull request April 26, 2024 09:39
Status Failure
Total duration 1m 25s
Artifacts

ci.yml

on: pull_request
Matrix: ci
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 2 warnings
test/allowedMethods.test.ts > [nuxt-security] Allowed Methods > should return 200 OK when using allowed HTTP Method on route: test/allowedMethods.test.ts#L20
AssertionError: expected 500 to be 200 // Object.is equality - Expected + Received - 200 + 500 ❯ test/allowedMethods.test.ts:20:24
test/basicAuth.test.ts > [nuxt-security] Basic Auth > should return 200 status code for multiple excluded route: test/basicAuth.test.ts#L38
AssertionError: expected 500 to be 200 // Object.is equality - Expected + Received - 200 + 500 ❯ test/basicAuth.test.ts:38:24
test/headers.test.ts > [nuxt-security] Headers > has `origin-agent-cluster` header set with correct default value: test/headers.test.ts#L79
AssertionError: expected false to be truthy ❯ test/headers.test.ts:79:49
test/headers.test.ts > [nuxt-security] Headers > has `permissions-policy` header set with correct default value: test/headers.test.ts#L90
AssertionError: expected false to be truthy ❯ test/headers.test.ts:90:47
test/headers.test.ts > [nuxt-security] Headers > has `referrer-policy` header set with correct default value: test/headers.test.ts#L101
AssertionError: expected false to be truthy ❯ test/headers.test.ts:101:44
ci (ubuntu-latest, 18)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@v3, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
ci (ubuntu-latest, 18): src/runtime/nitro/plugins/40-preprocessHtml.ts#L2
'cheerio' is defined but never used