Skip to content

Replace js-yaml by yaml package + tests #132

Replace js-yaml by yaml package + tests

Replace js-yaml by yaml package + tests #132

Re-run triggered May 27, 2024 08:37
Status Failure
Total duration 43s
Artifacts

ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

9 errors and 1 warning
test/block-component.test.ts > block-component > frontmatter: test/utils/index.ts#L22
Error: Snapshot `block-component > frontmatter 1` mismatched - Expected + Received @@ -4,11 +4,11 @@ "attributes": {}, "children": [], "data": { "hName": "with-frontmatter", "hProperties": { - ":array": "[\"item\",{\"itemKey\":\"value\"}]", + ":array": "["item",{"itemKey":"value"}]", "key": "value", }, }, "fmAttributes": { "array": [ ❯ test/utils/index.ts:22:19
test/block-component.test.ts > block-component > frontmatter1: test/utils/index.ts#L22
Error: Snapshot `block-component > frontmatter1 1` mismatched - Expected + Received @@ -4,12 +4,12 @@ "attributes": {}, "children": [], "data": { "hName": "with-frontmatter", "hProperties": { - ":array": "[\"item\",{\"itemKey\":\"value\"}]", - ":key2": "{\"subkey\":\"value\",\"subkey2\":\"value\"}", + ":array": "["item",{"itemKey":"value"}]", + ":key2": "{"subkey":"value","subkey2":"value"}", "key": "value", }, }, "fmAttributes": { "array": [ ❯ test/utils/index.ts:22:19
test/block-component.test.ts > block-component > frontmatter-with-binding-variables: test/utils/index.ts#L22
Error: Snapshot `block-component > frontmatter-with-binding-variables 1` mismatched - Expected + Received @@ -4,13 +4,13 @@ "attributes": {}, "children": [], "data": { "hName": "with-frontmatter", "hProperties": { - ":array": "[\"item\",{\":itemKey\":\"value\"}]", + ":array": "["item",{":itemKey":"value"}]", ":key": "value", - ":object": "{\":subkey\":\"value\",\"subkey2\":\"value\"}", + ":object": "{":subkey":"value","subkey2":"value"}", }, }, "fmAttributes": { ":key": "value", "array": [ ❯ test/utils/index.ts:22:19
test/block-component.test.ts > block-component > nested-component: test/utils/index.ts#L22
Error: Snapshot `block-component > nested-component 1` mismatched - Expected + Received @@ -126,11 +126,11 @@ }, ], "data": { "hName": "with-frontmatter-and-nested-component", "hProperties": { - ":array": "[\"item\",{\"itemKey\":\"value\"}]", + ":array": "["item",{"itemKey":"value"}]", "key": "value", }, }, "fmAttributes": { "array": [ ❯ test/utils/index.ts:22:19
test/codeblock-props.test.ts > basic > YamlProps: test/utils/index.ts#L22
Error: Snapshot `basic > YamlProps 1` mismatched - Expected + Received @@ -4,11 +4,11 @@ "attributes": {}, "children": [], "data": { "hName": "with-frontmatter-yaml", "hProperties": { - ":array": "[\"item\",{\"itemKey\":\"value\"}]", + ":array": "["item",{"itemKey":"value"}]", "key": "value", }, }, "fmAttributes": { "array": [ ❯ test/utils/index.ts:22:19
test/codeblock-props.test.ts > basic > shouldConvertYamlProps: test/utils/index.ts#L22
Error: Snapshot `basic > shouldConvertYamlProps 1` mismatched - Expected + Received @@ -4,11 +4,11 @@ "attributes": {}, "children": [], "data": { "hName": "with-frontmatter-yaml", "hProperties": { - ":array": "[\"item\",{\"itemKey\":\"value\"}]", + ":array": "["item",{"itemKey":"value"}]", "key": "value", }, }, "fmAttributes": { "array": [ ❯ test/utils/index.ts:22:19
test/codeblock-props.test.ts > basic > yamlProps1: test/utils/index.ts#L22
Error: Snapshot `basic > yamlProps1 1` mismatched - Expected + Received @@ -4,12 +4,12 @@ "attributes": {}, "children": [], "data": { "hName": "with-frontmatter-yaml1", "hProperties": { - ":array": "[\"item\",{\"itemKey\":\"value\"}]", - ":key2": "{\"subkey\":\"value\",\"subkey2\":\"value\"}", + ":array": "["item",{"itemKey":"value"}]", + ":key2": "{"subkey":"value","subkey2":"value"}", "key": "value", }, }, "fmAttributes": { "array": [ ❯ test/utils/index.ts:22:19
test/codeblock-props.test.ts > basic > nested-component-yamlProps: test/utils/index.ts#L22
Error: Snapshot `basic > nested-component-yamlProps 1` mismatched - Expected + Received @@ -125,11 +125,11 @@ }, ], "data": { "hName": "with-frontmatter-and-nested-component-yaml", "hProperties": { - ":array": "[\"item\",{\"itemKey\":\"value\"}]", + ":array": "["item",{"itemKey":"value"}]", "key": "value", }, }, "fmAttributes": { "array": [ ❯ test/utils/index.ts:22:19
ci
Process completed with exit code 1.
ci
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3, pnpm/[email protected]. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.