mirror of
https://github.com/motajs/template.git
synced 2026-11-03 07:24:30 +08:00
refactor(event): centralize point event references
This commit is contained in:
1 parent
a297311ea6
commit
64efcf2555
14 files changed
+617
-167
No files matched your search
@@ -301,6 +301,8 @@ describe('source-aware matching dispatch', () => {
|
||||
expect(calls[0].tile).toBeNull();
|
||||
expect(calls[1].tile).toBe(fixture.dynamic);
|
||||
expect(calls[2].tile).toBe(fixture.layer.getLocationData(1, 0)!.static);
|
||||
expect(calls[1].triggerLocator).toEqual({ x: 1, y: 0 });
|
||||
expect(calls[2].triggerLocator).toEqual({ x: 1, y: 0 });
|
||||
});
|
||||
|
||||
it('awaits each source before continuing to the next one', async () => {
|
||||
|
||||
Reference in new issue
Block a user