Fixed path events
All checks were successful
Build / Publish Docs (push) Successful in 48s
Build / Build NPM Project (push) Successful in 1m6s
Build / Tag Version (push) Successful in 9s

This commit is contained in:
2025-11-29 20:03:45 -05:00
parent 3e9052c4a7
commit 2240c93db5
3 changed files with 26 additions and 38 deletions

View File

@@ -48,10 +48,9 @@ describe('Path Events', () => {
expect(pe.hasAll('module:c', 'some/path:ud')).toBeTruthy();
});
it('parses empty string as none', () => {
it('parses empty string as wildcard', () => {
const pe = new PathEvent('');
expect(pe.none).toBe(true);
expect(pe.fullPath).toBe('');
expect(pe.has('any/path:c')).toBe(true);
});
it('parses none method', () => {