fix: test changes to macros to properly test all combinations #1483
Annotations
2 errors
Run yarn run test:
src/api/parsers/macros.test.ts#L13
AssertionError: expected { actions: [ …(8) ], id: +0, …(2) } to deeply equal { actions: [ …(9) ], …(3) }
- Expected
+ Received
Object {
"actions": Array [
Object {
"keyCode": 225,
"type": 6,
},
Object {
"keyCode": 5,
"type": 8,
},
Object {
"keyCode": 225,
"type": 7,
},
Object {
"keyCode": 8,
"type": 8,
},
Object {
"keyCode": 22,
"type": 8,
},
Object {
"keyCode": 23,
"type": 8,
},
Object {
"keyCode": 54,
"type": 8,
},
Object {
"keyCode": 40,
"type": 8,
},
- Object {
- "keyCode": 50,
- "type": 2,
- },
],
"id": 0,
- "macro": "SHIFT B SHIFT E S T , ENTER #50",
+ "macro": "SHIFT B SHIFT E S T , ENTER",
"name": "Best",
}
❯ api/parsers/macros.test.ts:13:18
|
Run yarn run test
Process completed with exit code 1.
|
Loading