wip #30
main.yml
on: push
Run Type Check & Linters
25s
Annotations
7 errors and 1 warning
tests/parser.test.ts > parseMarkdown > should parse valid markdown correctly:
tests/parser.test.ts#L13
Error: Snapshot `parseMarkdown > should parse valid markdown correctly 1` mismatched
- Expected
+ Received
@@ -10,10 +10,14 @@
"name": "condition-2",
},
},
"enabled": false,
"environments": {
+ "enabled": {
+ "enabled": false,
+ "name": "enabled",
+ },
"preview": {
"enabled": false,
"name": "Preview",
},
"production": {
❯ tests/parser.test.ts:13:37
|
tests/parser.test.ts > parseMarkdown > should parse markdown with enabled feature:
tests/parser.test.ts#L18
Error: Snapshot `parseMarkdown > should parse markdown with enabled feature 1` mismatched
- Expected
+ Received
@@ -14,10 +14,14 @@
"environments": {
"development": {
"enabled": false,
"name": "Development",
},
+ "enabled": {
+ "enabled": false,
+ "name": "enabled",
+ },
"preview": {
"enabled": false,
"name": "Preview",
},
"production": {
@@ -34,10 +38,14 @@
"name": "condition-3",
},
},
"enabled": true,
"environments": {
+ "enabled": {
+ "enabled": false,
+ "name": "enabled",
+ },
"production": {
"enabled": false,
"name": "Production",
},
},
❯ tests/parser.test.ts:18:37
|
tests/parser.test.ts > parseMarkdown > should parse markdown with disabled feature:
tests/parser.test.ts#L23
Error: Snapshot `parseMarkdown > should parse markdown with disabled feature 1` mismatched
- Expected
+ Received
@@ -14,10 +14,14 @@
"environments": {
"development": {
"enabled": false,
"name": "Development",
},
+ "enabled": {
+ "enabled": false,
+ "name": "enabled",
+ },
"preview": {
"enabled": false,
"name": "Preview",
},
"production": {
@@ -34,10 +38,14 @@
"name": "condition-3",
},
},
"enabled": true,
"environments": {
+ "enabled": {
+ "enabled": false,
+ "name": "enabled",
+ },
"production": {
"enabled": false,
"name": "Production",
},
},
❯ tests/parser.test.ts:23:37
|
tests/parser.test.ts > parseMarkdown > should parse markdown with one environment enabled:
tests/parser.test.ts#L28
Error: Snapshot `parseMarkdown > should parse markdown with one environment enabled 1` mismatched
- Expected
+ Received
@@ -14,10 +14,14 @@
"environments": {
"development": {
"enabled": false,
"name": "Development",
},
+ "enabled": {
+ "enabled": false,
+ "name": "enabled",
+ },
"preview": {
"enabled": false,
"name": "Preview",
},
"production": {
@@ -34,10 +38,14 @@
"name": "condition-3",
},
},
"enabled": false,
"environments": {
+ "enabled": {
+ "enabled": false,
+ "name": "enabled",
+ },
"production": {
"enabled": false,
"name": "Production",
},
},
❯ tests/parser.test.ts:28:37
|
tests/parser.test.ts > parseMarkdown > should parse markdown with two environments enabled in different features:
tests/parser.test.ts#L35
Error: Snapshot `parseMarkdown > should parse markdown with two environments enabled in different features 1` mismatched
- Expected
+ Received
@@ -14,10 +14,14 @@
"environments": {
"development": {
"enabled": false,
"name": "Development",
},
+ "enabled": {
+ "enabled": false,
+ "name": "enabled",
+ },
"preview": {
"enabled": false,
"name": "Preview",
},
"production": {
@@ -34,10 +38,14 @@
"name": "condition-3",
},
},
"enabled": true,
"environments": {
+ "enabled": {
+ "enabled": false,
+ "name": "enabled",
+ },
"preview": {
"enabled": false,
"name": "Preview",
},
"production": {
❯ tests/parser.test.ts:35:37
|
tests/parser.test.ts > parseMarkdown > another example:
tests/parser.test.ts#L40
Error: Snapshot `parseMarkdown > another example 1` mismatched
- Expected
+ Received
@@ -1,10 +1,14 @@
{
"show-install-script": {
"conditions": {},
- "enabled": true,
+ "enabled": false,
"environments": {
+ "enabled": {
+ "enabled": true,
+ "name": "enabled",
+ },
"production": {
"enabled": false,
"name": "Production",
},
},
@@ -15,10 +19,14 @@
"enabled": true,
"environments": {
"development": {
"enabled": false,
"name": "Development",
+ },
+ "enabled": {
+ "enabled": false,
+ "name": "enabled",
},
"preview": {
"enabled": false,
"name": "Preview",
},
❯ tests/parser.test.ts:40:37
|
Run Type Check & Linters
Process completed with exit code 1.
|
Run Type Check & Linters
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: pnpm/action-setup@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|