more path event fixes.... i hope...
All checks were successful
Build / Build NPM Project (push) Successful in 44s
Build / Tag Version (push) Successful in 7s
Build / Publish Documentation (push) Successful in 37s

This commit is contained in:
2025-06-24 22:05:39 -04:00
parent 3b7d28de4b
commit e2b8c35535
2 changed files with 12 additions and 20 deletions

View File

@ -103,11 +103,9 @@ describe('Path Events', () => {
});
it('has returns true for overlapping', () => {
const events = [
new PathEvent('users/sys:cr'),
];
expect(PathEvent.has(events, 'users/sys:r')).toBe(true);
expect(PathEvent.has(events, 'users/nope:r')).toBe(false);
const events = [new PathEvent('users/sys:cr')];
expect(PathEvent.has(events, 'users/sys:r')).toBeTruthy();
expect(PathEvent.has(events, 'users/nope:r')).toBeFalsy();
});
it('hasAll returns true only if all overlap', () => {