feat: button local variables #4906
Annotations
10 errors
companion/test/Variables/executeExpression.test.ts > executeExpression > missing variables:
companion/test/Variables/executeExpression.test.ts#L13
AssertionError: expected { ok: false, …(2) } to match object { value: '$NA=$NA', …(1) }
(2 matching properties omitted from actual)
- Expected
+ Received
{
- "value": "$NA=$NA",
"variableIds": Set {
"test:something",
- "another:value",
},
}
❯ companion/test/Variables/executeExpression.test.ts:13:15
|
companion/test/Variables/executeExpression.test.ts > executeExpression > normal variables:
companion/test/Variables/executeExpression.test.ts#L23
AssertionError: expected { ok: false, …(2) } to match object { value: 'abc/def', …(1) }
(2 matching properties omitted from actual)
- Expected
+ Received
{
- "value": "abc/def",
"variableIds": Set {
"test:page",
- "test:row",
},
}
❯ companion/test/Variables/executeExpression.test.ts:23:15
|
companion/test/Variables/executeExpression.test.ts > executeExpression > injected variables:
companion/test/Variables/executeExpression.test.ts#L38
AssertionError: expected { ok: false, …(2) } to match object { value: 'val1=bbb', …(1) }
(2 matching properties omitted from actual)
- Expected
+ Received
{
- "value": "val1=bbb",
"variableIds": Set {
"test:something",
- "another:value",
},
}
❯ companion/test/Variables/executeExpression.test.ts:38:15
|
companion/test/Variables/executeExpression.test.ts > executeExpression > nested variable names:
companion/test/Variables/executeExpression.test.ts#L48
AssertionError: expected { ok: false, …(2) } to match object { value: 'val1', …(1) }
(2 matching properties omitted from actual)
- Expected
+ Received
{
- "value": "val1",
- "variableIds": Set {
- "test:something",
- "another:value",
- },
+ "variableIds": Set {},
}
❯ companion/test/Variables/executeExpression.test.ts:48:15
|
companion/test/Variables/executeExpression.test.ts > executeExpression > array variable:
companion/test/Variables/executeExpression.test.ts#L57
AssertionError: expected { ok: false, …(2) } to match object { value: 2, …(1) }
(2 matching properties omitted from actual)
- Expected
+ Received
{
- "value": 2,
"variableIds": Set {
"test:something",
},
}
❯ companion/test/Variables/executeExpression.test.ts:57:15
|
companion/test/Variables/executeExpression.test.ts > executeExpression > object variable:
companion/test/Variables/executeExpression.test.ts#L66
AssertionError: expected { ok: false, …(2) } to match object { value: '123', …(1) }
(2 matching properties omitted from actual)
- Expected
+ Received
{
- "value": "123",
"variableIds": Set {
"test:something",
},
}
❯ companion/test/Variables/executeExpression.test.ts:66:15
|
companion/test/Variables/executeExpression.test.ts > executeExpression > chained variables:
companion/test/Variables/executeExpression.test.ts#L76
AssertionError: expected { ok: false, …(2) } to match object { value: 'something', …(1) }
(2 matching properties omitted from actual)
- Expected
+ Received
{
- "value": "something",
- "variableIds": Set {
- "test:something",
- "another:value",
- },
+ "variableIds": Set {},
}
❯ companion/test/Variables/executeExpression.test.ts:76:15
|
companion/test/Variables/executeExpression.test.ts > executeExpression > chained variables 2:
companion/test/Variables/executeExpression.test.ts#L86
AssertionError: expected { ok: false, …(2) } to match object { value: 'something', …(1) }
(2 matching properties omitted from actual)
- Expected
+ Received
{
- "value": "something",
"variableIds": Set {
"test:something",
- "another:value",
},
}
❯ companion/test/Variables/executeExpression.test.ts:86:15
|
companion/test/Variables/executeExpression.test.ts > executeExpression > chained array variable:
companion/test/Variables/executeExpression.test.ts#L96
AssertionError: expected { ok: false, …(2) } to match object { value: '1/2/3', …(1) }
(2 matching properties omitted from actual)
- Expected
+ Received
{
- "value": "1/2/3",
"variableIds": Set {
"test:something",
- "another:value",
},
}
❯ companion/test/Variables/executeExpression.test.ts:96:15
|
companion/test/Variables/executeExpression.test.ts > executeExpression > falsey variables:
companion/test/Variables/executeExpression.test.ts#L107
AssertionError: expected { ok: false, …(2) } to match object { value: '0//$NA', …(1) }
(2 matching properties omitted from actual)
- Expected
+ Received
{
- "value": "0//$NA",
"variableIds": Set {
"test:page",
- "test:row",
- "test:col",
},
}
❯ companion/test/Variables/executeExpression.test.ts:107:15
|