-
Notifications
You must be signed in to change notification settings - Fork 140
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* test: Router module integration test: findMyWay.findRoute should also trows an error when wildcard is not the last character test: does not find the route if maxParamLength is exceeded refactor: make integration test more compliant with the existing code base test: cover uncovered constrainer.js test cases test: safeDecodeURIComponent should replace %3x to null for every x that is not a valid lowchar test: SemVerStore version should be a string test: httpMethodStrategy storage handles set and get operations correctly test: case insensitive static routes of level 1 for FindMyWay.findRoute test: findRoute normalizes wildcard patterns to require leading slash refactor: make tests more consistants with the existing test: should return null if no wildchar child Date: Tue Feb 20 14:10:18 2024 +0100 Achieves 100% test coverage * fix: add proxyquire to dev dependencies * test: cover uncovered branches in index.js * fix: revert 'if (nextCharCode === 58)' stmt to one line * fix: remove useless parametric node kind check * fix: if it is a wildchar node, it has a child * fix: a wildcard route created via the router api necessarily has a pattern with a leading slash * fix: non-custom strategy error only happen when user dont use the appropriate api * fix: there is no way found route params is not an array, expect if user break internals * test: Constrainer.noteUsage * Cannot derive constraints without active strategies. * test: should derive multiple async constraints * test: Major version must be a numeric value * test: SemVerStore.maxMajor should increase automatically * test: SemVerStore.maxPatches should increase automatically * refactor: httpMethods module should be a source of truth * refactor: make consistent use of fmw.on * fix: istanbul should ignore the complete function * test: remove 90 min limit for code coverage * fix: when no args is passed, undefined is default value * fix: add new line at the end of .taprc * fix: readd removed comment indicating static route
- Loading branch information
1 parent
9731ad7
commit e117960
Showing
9 changed files
with
274 additions
and
55 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,3 @@ | ||
ts: false | ||
jsx: false | ||
flow: false | ||
branches: 90 | ||
functions: 90 | ||
lines: 90 | ||
statements: 90 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.