Skip to content

update @nuxt/module-builder, unify package exports #153

update @nuxt/module-builder, unify package exports

update @nuxt/module-builder, unify package exports #153

Triggered via pull request April 13, 2025 10:13
Status Failure
Total duration 2m 3s
Artifacts

node.js.yml

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

Annotations

5 errors and 2 warnings
test/runtime/serverHandler/mutation.test.ts > defineEventHandler > Should handle a valid mutation: test/runtime/serverHandler/mutation.test.ts#L95
Error: Snapshot `defineEventHandler > Should handle a valid mutation 1` mismatched - Expected + Received @@ -2,11 +2,11 @@ "__customProperty": "foobar", "data": {}, "endpoint": "http//localhost/graphql", "options": { "body": { - "operationName": undefined, + "operationName": "barfoo", "query": "Mutation", "variables": {}, }, "method": "POST", }, ❯ test/runtime/serverHandler/mutation.test.ts:95:7
test/runtime/serverHandler/query.test.ts > defineEventHandler > Should handle a valid query: test/runtime/serverHandler/query.test.ts#L93
Error: Snapshot `defineEventHandler > Should handle a valid query 1` mismatched - Expected + Received @@ -2,11 +2,11 @@ "__customProperty": "foobar", "data": {}, "endpoint": "http//localhost/graphql", "options": { "body": { - "operationName": undefined, + "operationName": "foobar", "query": "Query", "variables": { "variables": "{}", }, }, ❯ test/runtime/serverHandler/query.test.ts:93:50
test/runtime/serverHandler/query.test.ts > defineEventHandler > Should handle an invalid operation: test/runtime/serverHandler/query.test.ts#L103
Error: Snapshot `defineEventHandler > Should handle an invalid operation 1` mismatched - Expected + Received @@ -2,11 +2,11 @@ "__customProperty": "foobar", "data": {}, "endpoint": "http//localhost/graphql", "options": { "body": { - "operationName": undefined, + "operationName": "foobar", "query": "Query", "variables": { "variables": "{}", }, }, ❯ test/runtime/serverHandler/query.test.ts:103:20
test/runtime/serverHandler/query.test.ts > defineEventHandler > Should correctly handle variables.: test/runtime/serverHandler/query.test.ts#L109
Error: Snapshot `defineEventHandler > Should correctly handle variables. 1` mismatched - Expected + Received @@ -2,11 +2,11 @@ "__customProperty": "foobar", "data": {}, "endpoint": "http//localhost/graphql", "options": { "body": { - "operationName": undefined, + "operationName": "foobar", "query": "Query", "variables": { "variables": "{"variable":"one"}", }, }, ❯ test/runtime/serverHandler/query.test.ts:109:7
build (20.x)
Process completed with exit code 1.
build (20.x): src/runtime/components/CodeFrame.vue#L10
'v-html' directive can lead to XSS attack
build (20.x): src/runtime/components/CodeFrame.vue#L20
'v-html' directive can lead to XSS attack