-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(open/openapi/validate): return promises, fix tests (#410)
* refactor(validate): use console.info(), return promise - console.info is so we can safely use console.log() statements when debugging more easily - returning the value allows us to write more robust tests * refactor: return expect, rather than async/await with no return idk, this just felt weird... i hate JS * test: check for resolved output, rather than console output * refactor: return Promise and update test - returning the value allows us to write more robust tests * refactor: return promise in openapi.js, use console.info - console.info() makes it so it's easier for us to use console.log while debugging - returning the promise allows us to write more robust tests * test: refactor tests to check for command output * fix: don't allow to create new version from doc commands * revert: don't fix docs stuff in this branch This reverts commit afeaf7b. For the sake of confining the scope of these changes, I'm reverting this and will fix this in a separate PR focused on our docs commands. * Apply suggestions from code review Co-authored-by: Jon Ursenbach <erunion@users.noreply.github.com> Co-authored-by: Jon Ursenbach <erunion@users.noreply.github.com>
- v10.0.0
- v10.0.0-next.1
- v10
- v9.0.5
- v9.0.5-next.1
- v9.0.4
- v9.0.4-next.5
- v9.0.4-next.4
- v9.0.4-next.3
- v9.0.4-next.2
- v9.0.4-next.1
- v9.0.3
- v9.0.3-next.1
- v9.0.2
- v9.0.2-next.2
- v9.0.2-next.1
- v9.0.1
- v9.0.1-next.2
- v9.0.1-next.1
- v9.0.0
- v9.0.0-next.36
- v9.0.0-next.35
- v9.0.0-next.34
- v9.0.0-next.33
- v9.0.0-next.32
- v9.0.0-next.31
- v9.0.0-next.30
- v9.0.0-next.29
- v9.0.0-next.28
- v9.0.0-next.27
- v9.0.0-next.26
- v9.0.0-next.25
- v9.0.0-next.24
- v9.0.0-next.23
- v9.0.0-next.22
- v9.0.0-next.21
- v9.0.0-next.20
- v9.0.0-next.19
- v9.0.0-next.18
- v9.0.0-next.17
- v9.0.0-next.16
- v9.0.0-next.15
- v9.0.0-next.14
- v9.0.0-next.13
- v9.0.0-next.12
- v9.0.0-next.11
- v9.0.0-next.10
- v9.0.0-next.9
- v9.0.0-next.8
- v9.0.0-next.7
- v9.0.0-next.6
- v9.0.0-next.5
- v9.0.0-next.4
- v9.0.0-next.3
- v9.0.0-next.2
- v9.0.0-next.1
- v8.7.0-next.3
- v8.7.0-next.2
- v8.7.0-next.1
- v8.6.6
- v8.6.6-next.1
- v8.6.5
- v8.6.5-next.7
- v8.6.5-next.6
- v8.6.5-next.5
- v8.6.5-next.4
- v8.6.5-next.3
- v8.6.5-next.2
- v8.6.5-next.1
- v8.6.4
- v8.6.4-next.3
- v8.6.4-next.2
- v8.6.4-next.1
- v8.6.3
- v8.6.3-next.1
- v8.6.2
- v8.6.2-next.4
- v8.6.2-next.3
- v8.6.2-next.2
- v8.6.2-next.1
- v8.6.1
- v8.6.1-next.1
- v8.6.0
- v8.6.0-next.17
- v8.6.0-next.16
- v8.6.0-next.15
- v8.6.0-next.14
- v8.6.0-next.13
- v8.6.0-next.12
- v8.6.0-next.11
- v8.6.0-next.10
- v8.6.0-next.9
- v8.6.0-next.8
- v8.6.0-next.7
- v8.6.0-next.6
- v8.6.0-next.5
- v8.6.0-next.4
- v8.6.0-next.3
- v8.6.0-next.2
- v8.6.0-next.1
- v8.5.0
- v8.4.0
- v8.3.1
- v8.3.1-beta.0
- v8.3.0
- v8.3.0-beta.0
- v8.2.1
- v8.2.0
- v8.1.1
- v8.1.0
- v8.0.4
- v8.0.4-beta.0
- v8.0.3
- v8.0.2
- v8.0.1
- v8.0.0
- v8.0.0-beta.9
- v8.0.0-beta.8
- v8.0.0-beta.7
- v8.0.0-beta.6
- v8.0.0-beta.5
- v8.0.0-beta.4
- v8
- v7.5.0
- kanad-test-git-ref-do-not-use
- 10.0.0
- 10.0.0-next.1
- 9.0.5
- 9.0.5-next.1
- 9.0.4
- 9.0.4-next.5
- 9.0.4-next.4
- 9.0.4-next.3
- 9.0.4-next.2
- 9.0.4-next.1
- 9.0.3
- 9.0.3-next.1
- 9.0.2
- 9.0.2-next.2
- 9.0.2-next.1
- 9.0.1
- 9.0.1-next.2
- 9.0.1-next.1
- 9.0.0
- 9.0.0-next.36
- 9.0.0-next.35
- 9.0.0-next.34
- 9.0.0-next.33
- 9.0.0-next.32
- 9.0.0-next.31
- 9.0.0-next.30
- 9.0.0-next.29
- 9.0.0-next.28
- 9.0.0-next.27
- 9.0.0-next.26
- 9.0.0-next.25
- 9.0.0-next.24
- 9.0.0-next.23
- 9.0.0-next.22
- 9.0.0-next.21
- 9.0.0-next.20
- 9.0.0-next.19
- 9.0.0-next.18
- 9.0.0-next.17
- 9.0.0-next.16
- 9.0.0-next.15
- 9.0.0-next.14
- 9.0.0-next.13
- 9.0.0-next.12
- 9.0.0-next.11
- 9.0.0-next.10
- 9.0.0-next.9
- 9.0.0-next.8
- 9.0.0-next.7
- 9.0.0-next.6
- 9.0.0-next.5
- 9.0.0-next.4
- 9.0.0-next.3
- 9.0.0-next.2
- 9.0.0-next.1
- 8.7.0-next.3
- 8.7.0-next.2
- 8.7.0-next.1
- 8.6.6
- 8.6.6-next.1
- 8.6.5
- 8.6.5-next.7
- 8.6.5-next.6
- 8.6.5-next.5
- 8.6.5-next.4
- 8.6.5-next.3
- 8.6.5-next.2
- 8.6.5-next.1
- 8.6.4
- 8.6.4-next.3
- 8.6.4-next.2
- 8.6.4-next.1
- 8.6.3
- 8.6.3-next.1
- 8.6.2
- 8.6.2-next.4
- 8.6.2-next.3
- 8.6.2-next.2
- 8.6.2-next.1
- 8.6.1
- 8.6.1-next.1
- 8.6.0
- 8.6.0-next.17
- 8.6.0-next.16
- 8.6.0-next.15
- 8.6.0-next.14
- 8.6.0-next.13
- 8.6.0-next.12
- 8.6.0-next.11
- 8.6.0-next.10
- 8.6.0-next.9
- 8.6.0-next.8
- 8.6.0-next.7
- 8.6.0-next.6
- 8.6.0-next.5
- 8.6.0-next.4
- 8.6.0-next.3
- 8.6.0-next.2
- 8.6.0-next.1
- 8.5.0
- 8.4.0
- 8.3.1
- 8.3.1-beta.0
- 8.3.0
- 8.3.0-beta.0
- 8.2.1
- 8.2.0
- 8.1.1
- 8.1.0
- 8.0.4
- 8.0.4-beta.0
- 8.0.3
- 8.0.2
- 8.0.1
- 8.0.0
- 8.0.0-beta.9
- 8.0.0-beta.8
- 8.0.0-beta.7
- 8.0.0-beta.6
- 8.0.0-beta.5
- 8.0.0-beta.4
- 8.0.0-beta.3
- 8.0.0-beta.2
- 8.0.0-beta.1
- 7.5.0
- 7.4.0
- 7.3.0
- 7.2.2
- 7.2.1
- 7.2.0
- 7.1.1
- 7.1.0
- 7.0.3
- 7.0.2
- 7.0.1
- 7.0.0
- 6.5.0
- 6.4.0
- 6.3.2
- 6.3.1
- 6.3.0
- 6.2.1
- 6.2.0
1 parent
5b2220c
commit 8b9ad4b
Showing
6 changed files
with
128 additions
and
135 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.