-
Notifications
You must be signed in to change notification settings - Fork 175
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
15 additions
and
4 deletions.
There are no files selected for viewing
17 changes: 13 additions & 4 deletions
17
packages/cli/ete-tests/src/tests/validate/__snapshots__/validate.test.ts.snap
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,12 +1,21 @@ | ||
// Jest Snapshot v1, https://goo.gl/fbAQLP | ||
|
||
exports[`validate docs 1`] = ` | ||
"Failed to parse file: fern/docs.yml | ||
- Expected object. Received undefined." | ||
"Misconfigured fern directory: please see the docs at https://buildwithfern.com/learn/api-definition/introduction/what-is-the-fern-folder | ||
[docs]: ✓ All checks passed" | ||
`; | ||
|
||
exports[`validate no-api 1`] = `"[docs]: ✓ All checks passed"`; | ||
exports[`validate no-api 1`] = ` | ||
"[docs]:✓ All checks passed | ||
[api]: Missing file: api.yml" | ||
`; | ||
|
||
exports[`validate no-generator 1`] = `"Misconfigured fern directory: please see the docs at https://buildwithfern.com/learn/api-definition/introduction/what-is-the-fern-folder"`; | ||
|
||
exports[`validate simple 1`] = `""`; | ||
exports[`validate simple 1`] = ` | ||
"[api]: Found 2 errors and 0 warnings. Run fern check --warnings to print out the warnings. | ||
[api]: api.yml -> error-discrimination | ||
error-discrimination is required because this API has declared errors. | ||
[api]: other.yml -> types -> MyType | ||
Type MissingType is not defined." | ||
`; |
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 |
---|---|---|
@@ -0,0 +1,2 @@ | ||
instances: | ||
- url: ferndevtest.docs.dev.buildwithfern.com |