Skip to content

Commit

Permalink
Fix localListOnChange test
Browse files Browse the repository at this point in the history
  • Loading branch information
RickCarlino committed Nov 13, 2018
1 parent cdfa68e commit cdf2907
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion webpack/sequences/__tests__/locals_list_test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,8 @@ describe("<LocalsList/>", () => {
describe("localListOnChange", () => {
it("triggers the dispatch()er", () => {
const p = props();
localListOnChange(p);
const cb = localListOnChange(p);
cb({ kind: "coordinate", args: { x: 0, y: 0, z: 0 } });
expect(p.dispatch).toHaveBeenCalled();
});
});

0 comments on commit cdf2907

Please sign in to comment.