{ state: {} events: [ { kind: "modify-data-any", paths: ["/watch/file"], time: 1 } { kind: "access-close-write", paths: ["/watch/file"], time: 2 } { kind: "modify-data-any", paths: ["/watch/file"], time: 3 } { kind: "access-close-write", paths: ["/watch/file"], time: 4 } { kind: "modify-data-any", paths: ["/watch/file"], time: 5 } ] expected: { queues: { /watch/file: { events: [ { kind: "modify-data-any", paths: ["*"], time: 1 } { kind: "access-close-write", paths: ["*"], time: 2 } { kind: "modify-data-any", paths: ["*"], time: 3 } { kind: "access-close-write", paths: ["*"], time: 4 } { kind: "modify-data-any", paths: ["*"], time: 5 } ] } } events: { short: [] long: [ { kind: "access-close-write", paths: ["/watch/file"], time: 4 } { kind: "modify-data-any", paths: ["/watch/file"], time: 5 } ] } } }