mirror of
https://github.com/atom/atom.git
synced 2026-04-28 03:01:47 -04:00
listener calls are reversed
This commit is contained in:
@@ -375,7 +375,7 @@ describe("CommandRegistry", () => {
|
||||
}));
|
||||
|
||||
const values = await registry.dispatch(grandchild, 'command');
|
||||
expect(values).toEqual([1, 2, 3]);
|
||||
expect(values).toEqual([3, 2, 1]);
|
||||
});
|
||||
|
||||
it("returns a promise that rejects when a listener is rejected", async () => {
|
||||
|
||||
Reference in New Issue
Block a user