Remove `nothing` nodes from `locals` arg.
parent
986ee29dad
commit
055171296e
|
@ -16,7 +16,7 @@ export function fakeSequence(): TaggedSequence {
|
|||
args: {
|
||||
version: 4,
|
||||
label: "WIP",
|
||||
locals: { kind: "nothing", args: {} },
|
||||
locals: { kind: "scope_declaration", args: {} },
|
||||
},
|
||||
id: 12,
|
||||
color: "red",
|
||||
|
|
|
@ -24,7 +24,7 @@ export let fakeFarmEventWithExecutable = (): FarmEventWithExecutable => {
|
|||
color: "red",
|
||||
name: "faker",
|
||||
kind: "sequence",
|
||||
args: { version: 0, label: "WIP", locals: { kind: "nothing", args: {} }, }
|
||||
args: { version: 0, label: "WIP", locals: { kind: "scope_declaration", args: {} }, }
|
||||
}
|
||||
};
|
||||
};
|
||||
|
|
|
@ -282,7 +282,7 @@ const tr13: TaggedResource = {
|
|||
"is_outdated": false,
|
||||
"version": 4,
|
||||
"label": "foo",
|
||||
"locals": { kind: "nothing", args: {} },
|
||||
"locals": { kind: "scope_declaration", args: {} },
|
||||
},
|
||||
"kind": "sequence"
|
||||
},
|
||||
|
|
|
@ -42,7 +42,7 @@ describe("mapStateToProps()", () => {
|
|||
"args": {
|
||||
"version": 4,
|
||||
"label": "WIP",
|
||||
locals: { kind: "nothing", args: {} },
|
||||
"locals": { "kind": "scope_declaration", "args": {} },
|
||||
},
|
||||
"kind": "sequence"
|
||||
},
|
||||
|
|
|
@ -45,7 +45,7 @@ describe("commitBulkEditor()", () => {
|
|||
"color": "gray",
|
||||
"body": [{ kind: "wait", args: { milliseconds: 100 } }],
|
||||
"args": {
|
||||
locals: { kind: "nothing", args: {} },
|
||||
"locals": { kind: "scope_declaration", args: {} },
|
||||
"version": 4,
|
||||
"label": "WIP"
|
||||
},
|
||||
|
|
|
@ -23,7 +23,7 @@ describe("maybeTagSteps()", () => {
|
|||
}
|
||||
],
|
||||
"args": {
|
||||
"locals": { kind: "nothing", args: {} },
|
||||
"locals": { kind: "scope_declaration", args: {} },
|
||||
"version": 4
|
||||
},
|
||||
"kind": "sequence"
|
||||
|
|
Loading…
Reference in New Issue