Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump the npm-development group with 11 updates #34

Merged
merged 2 commits into from
Jan 1, 2024

Merge branch 'main' into dependabot/npm_and_yarn/npm-development-07ac…

2bccfce
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Merged

Bump the npm-development group with 11 updates #34

Merge branch 'main' into dependabot/npm_and_yarn/npm-development-07ac…
2bccfce
Select commit
Loading
Failed to load commit list.
GitHub Actions / Test Report succeeded Jan 1, 2024 in 0s

Test Report ✅

Tests passed successfully

✅ reports/jest-junit.xml

43 tests were completed in 10s with 43 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
checkboxes 7✅ 7s
compileTemplate 1✅ 478ms
dropdown 7✅ 582ms
formatKey 7✅ 464ms
index 1✅ 543ms
input 4✅ 399ms
main 7✅ 9s
parseTemplate 1✅ 515ms
textarea 4✅ 409ms
validate 4✅ 8s

✅ checkboxes

checkboxes default required to false if not provided
  ✅ checkboxes default required to false if not provided
checkboxes returns an error for missing required input
  ✅ checkboxes returns an error for missing required input
checkboxes returns an error for non-checkboxes input
  ✅ checkboxes returns an error for non-checkboxes input
checkboxes returns an error for required input with no selected options
  ✅ checkboxes returns an error for required input with no selected options
checkboxes returns an error for invalid selected options
  ✅ checkboxes returns an error for invalid selected options
checkboxes returns an error for invalid unselected options
  ✅ checkboxes returns an error for invalid unselected options
checkboxes returns an error for missing required options
  ✅ checkboxes returns an error for missing required options

✅ compileTemplate

compileTemplate compiles the template correctly
  ✅ compileTemplate compiles the template correctly

✅ dropdown

dropdown default required to false if not provided
  ✅ dropdown default required to false if not provided
dropdown returns an error for missing required input
  ✅ dropdown returns an error for missing required input
dropdown returns an error for non-list input
  ✅ dropdown returns an error for non-list input
dropdown returns an error for required input with empty list
  ✅ dropdown returns an error for required input with empty list
dropdown returns an error for multiple selections with multi-select disabled
  ✅ dropdown returns an error for multiple selections with multi-select disabled
dropdown returns an error for non-allowed options
  ✅ dropdown returns an error for non-allowed options
dropdown does not return an error for valid input
  ✅ dropdown does not return an error for valid input

✅ formatKey

formatKey removes non-alphanumeric characters
  ✅ formatKey removes non-alphanumeric characters
formatKey converts to lowercase
  ✅ formatKey converts to lowercase
formatKey replaces spaces with underscores
  ✅ formatKey replaces spaces with underscores
formatKey replaces multiple consecutive underscores with a single underscore
  ✅ formatKey replaces multiple consecutive underscores with a single underscore
formatKey removes leading and trailing underscores
  ✅ formatKey removes leading and trailing underscores
formatKey removes leading and trailing whitespace
  ✅ formatKey removes leading and trailing whitespace
formatKey handles empty strings
  ✅ formatKey handles empty strings

✅ index

index calls run when imported
  ✅ index calls run when imported

✅ input

input returns an error for missing required input
  ✅ input returns an error for missing required input
input returns an error for empty required input
  ✅ input returns an error for empty required input
input returns an error for non-string input
  ✅ input returns an error for non-string input
input does not return an error for valid input
  ✅ input does not return an error for valid input

✅ main

main retrieves the inputs
  ✅ main retrieves the inputs
main fails when the issue form template does not exist
  ✅ main fails when the issue form template does not exist
main does not add a comment when add-comment is false
  ✅ main does not add a comment when add-comment is false
main adds a failure comment when add-comment is true
  ✅ main adds a failure comment when add-comment is true
main adds a default failure comment if no template is provided
  ✅ main adds a default failure comment if no template is provided
main adds a success comment when add-comment is true
  ✅ main adds a success comment when add-comment is true
main adds a default success comment if no template is provided
  ✅ main adds a default success comment if no template is provided

✅ parseTemplate

parseTemplate parses issue form templates
  ✅ parseTemplate parses issue form templates

✅ textarea

textarea returns an error for missing required input
  ✅ textarea returns an error for missing required input
textarea returns an error for empty required input
  ✅ textarea returns an error for empty required input
textarea returns an error for non-string input
  ✅ textarea returns an error for non-string input
textarea does not return an error for valid input
  ✅ textarea does not return an error for valid input

✅ validate

validate validates each input type
  ✅ validate validates each input type
validate skips custom validation if no config is present
  ✅ validate skips custom validation if no config is present
validate passes custom validation if config is present and inputs are valid
  ✅ validate passes custom validation if config is present and inputs are valid
validate fails custom validation if config is present and inputs are invalid
  ✅ validate fails custom validation if config is present and inputs are invalid