Skip to content

Bump @octokit/rest from 20.0.1 to 20.0.2 #61

Bump @octokit/rest from 20.0.1 to 20.0.2

Bump @octokit/rest from 20.0.1 to 20.0.2 #61

GitHub Actions / Test Report succeeded Oct 5, 2023 in 1s

Test Report ✅

Tests passed successfully

✅ reports/jest-junit.xml

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

Test suite Passed Failed Skipped Time
checkboxes 7✅ 254ms
compileTemplate 1✅ 291ms
dropdown 7✅ 234ms
formatKey 7✅ 207ms
index 1✅ 287ms
input 4✅ 212ms
main 7✅ 6s
parseTemplate 1✅ 213ms
textarea 4✅ 233ms
validate 4✅ 409ms

✅ 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