-
-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add ProjectWideDependencyChecker
check
API
This allows someone to make broader assertions against the project’s dependencies. ```js const checker VersionChecker.forProject(project); checker.check({ ‘ember-data’: ‘>= 3.16.0’, ‘ember-resolver’: ‘*’, }) === { isSatisfied: true | false, message: ‘’ || ‘useful canned error message’, node_modules: { ‘ember-data’: { isSatisfied: true | false, message: ‘’ || ‘useful canned error message’, Versions: [/* list of versions found */] }, ‘Ember-resolver: { /* basically same as ember-datas blob */ }, assert(message?) { } // throw a canned error, with an optional description } } ``` This Commit also fixes/cleans up the testing infrastructure to simplify the testing of the above new feature
- Loading branch information
1 parent
99226a4
commit a9d7642
Showing
6 changed files
with
387 additions
and
37 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
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.