Replace js-yaml by yaml package + tests #134
Annotations
4 errors and 1 warning
Run pnpm test:
test/utils/index.ts#L22
Error: Snapshot `block-component > component-attributes-array-of-string 1` mismatched
- Expected
+ Received
@@ -1,16 +1,16 @@
{
"children": [
{
"attributes": {
- ":items": "[\"Nuxt\", \"Vue\"]",
+ ":items": "["Nuxt", "Vue"]",
},
"children": [],
"data": {
"hName": "container-component",
"hProperties": {
- ":items": "[\"Nuxt\", \"Vue\"]",
+ ":items": "["Nuxt", "Vue"]",
},
},
"fmAttributes": {},
"name": "container-component",
"position": {
❯ test/utils/index.ts:22:19
|
Run pnpm test:
test/utils/index.ts#L22
Error: Snapshot `block-component > component-attributes-object 1` mismatched
- Expected
+ Received
@@ -1,16 +1,16 @@
{
"children": [
{
"attributes": {
- ":items": "{\"key\": \"value\"}",
+ ":items": "{"key": "value"}",
},
"children": [],
"data": {
"hName": "container-component",
"hProperties": {
- ":items": "{\"key\": \"value\"}",
+ ":items": "{"key": "value"}",
},
},
"fmAttributes": {},
"name": "container-component",
"position": {
❯ test/utils/index.ts:22:19
|
Run pnpm test:
test/utils/index.ts#L22
Error: Snapshot `block-component > component-hProperties-be-the-same 1` mismatched
- Expected
+ Received
@@ -1,16 +1,16 @@
{
"children": [
{
"attributes": {
- ":items": "{\"key\":\"value\"}",
+ ":items": "{"key":"value"}",
},
"children": [],
"data": {
"hName": "container-component",
"hProperties": {
- ":items": "{\"key\":\"value\"}",
+ ":items": "{"key":"value"}",
},
},
"fmAttributes": {},
"name": "container-component",
"position": {
@@ -31,11 +31,11 @@
"attributes": {},
"children": [],
"data": {
"hName": "container-component",
"hProperties": {
- ":items": "{\"key\":\"value\"}",
+ ":items": "{"key":"value"}",
},
},
"fmAttributes": {
"items": {
"key": "value",
❯ test/utils/index.ts:22:19
|
Run pnpm test
Process completed with exit code 1.
|
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/.
|
The logs for this run have expired and are no longer available.
Loading