Skip to content

1.0.0-alpha0 parent/child query parameters not format()ted correctly #2504

Closed
@christopherthielen

Description

@christopherthielen

https://plnkr.co/edit/eP09lKTynJjblgTyprvZ?p=preview

Failing unit test:

 it("should handle additional query parameters from concated matchers", function() {
      var m = new UrlMatcher('/parent?qParent');
      var m2 = m.append(new UrlMatcher('/child?qChild'));
      var formatted = m2.format({ qParent: 'parent', qChild: 'child' });

      expect (formatted).toBe('/parent/child?qParent=parent&qChild=child');
    })```

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions