-
-
Notifications
You must be signed in to change notification settings - Fork 3
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
3 changed files
with
75 additions
and
26 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,26 @@ | ||
// Jest Snapshot v1, https://goo.gl/fbAQLP | ||
|
||
exports[`Package setConfigs() errors if input name contains a slash 1`] = ` | ||
"flag-common: The following validations have failed: | ||
"The following validations have failed for \`flag-common\`: | ||
- Invalid field \\"inputs\\". Invalid key \\"foo/bar\\". String does not match. (pattern \\"^\\\\w+$\\")" | ||
`; | ||
|
||
exports[`Package setConfigs() errors if input name contains a space 1`] = ` | ||
"flag-common: The following validations have failed: | ||
"The following validations have failed for \`flag-common\`: | ||
- Invalid field \\"inputs\\". Invalid key \\"foo bar\\". String does not match. (pattern \\"^\\\\w+$\\")" | ||
`; | ||
|
||
exports[`Package setConfigs() errors if invalid format is provided for \`browser\` platform 1`] = ` | ||
"flag-common: The following validations have failed: | ||
"The following validations have failed for \`flag-common\`: | ||
- Invalid member \\"format[0]\\". String must be one of: lib, esm, umd. Received \\"mjs\\"." | ||
`; | ||
|
||
exports[`Package setConfigs() errors if invalid format is provided for \`native\` platform 1`] = ` | ||
"flag-common: The following validations have failed: | ||
"The following validations have failed for \`flag-common\`: | ||
- Invalid member \\"format[0]\\". String must be one of: lib. Received \\"esm\\"." | ||
`; | ||
|
||
exports[`Package setConfigs() errors if invalid format is provided for \`node\` platform 1`] = ` | ||
"flag-common: The following validations have failed: | ||
"The following validations have failed for \`flag-common\`: | ||
- Invalid member \\"format[0]\\". String must be one of: lib, mjs, cjs. Received \\"umd\\"." | ||
`; |
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