Skip to content

Remove unnecessary ts-ignore (#1386) #125

Remove unnecessary ts-ignore (#1386)

Remove unnecessary ts-ignore (#1386) #125

GitHub Actions / Tests succeeded Nov 13, 2023 in 0s

Tests ✅

Tests passed successfully

Report Passed Failed Skipped Time
admin/admin-color-picker/node_modules/@comet/admin/junit.xml 14✅ 10s
admin/admin-date-time/node_modules/@comet/admin/junit.xml 14✅ 10s
admin/admin-react-select/node_modules/@comet/admin/junit.xml 14✅ 10s
admin/admin-stories/node_modules/@comet/admin-color-picker/node_modules/@comet/admin/junit.xml 14✅ 10s
admin/admin-stories/node_modules/@comet/admin-date-time/node_modules/@comet/admin/junit.xml 14✅ 10s
admin/admin-stories/node_modules/@comet/admin-react-select/node_modules/@comet/admin/junit.xml 14✅ 10s
admin/admin-stories/node_modules/@comet/admin/junit.xml 14✅ 10s
admin/admin/junit.xml 14✅ 10s
admin/blocks-admin/junit.xml 5✅ 12s
admin/blocks-admin/node_modules/@comet/admin/junit.xml 14✅ 10s
admin/cms-admin/junit.xml 20✅ 9s
admin/cms-admin/node_modules/@comet/admin-date-time/node_modules/@comet/admin/junit.xml 14✅ 10s
admin/cms-admin/node_modules/@comet/admin/junit.xml 14✅ 10s
admin/cms-admin/node_modules/@comet/blocks-admin/junit.xml 5✅ 12s
admin/cms-admin/node_modules/@comet/blocks-admin/node_modules/@comet/admin/junit.xml 14✅ 10s
api/blocks-api/junit.xml 7✅ 5s
api/cms-api/junit.xml 35✅ 21s
api/cms-api/node_modules/@comet/blocks-api/junit.xml 7✅ 5s
site/cms-site/junit.xml 6✅ 10s

✅ admin/admin-color-picker/node_modules/@comet/admin/junit.xml

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

Test suite Passed Failed Skipped Time
useDataGridRemote 14✅ 9s

✅ useDataGridRemote

useDataGridRemote reads sort param from URL and returns correct value
  ✅ useDataGridRemote reads sort param from URL and returns correct value
useDataGridRemote reads filter param from URL and returns correct value
  ✅ useDataGridRemote reads filter param from URL and returns correct value
useDataGridRemote reads page param from URL and returns correct value
  ✅ useDataGridRemote reads page param from URL and returns correct value
useDataGridRemote reads pageSize param from URL and returns correct value
  ✅ useDataGridRemote reads pageSize param from URL and returns correct value
useDataGridRemote writes sort param to URL
  ✅ useDataGridRemote writes sort param to URL
useDataGridRemote writes filter param to URL
  ✅ useDataGridRemote writes filter param to URL
useDataGridRemote writes page param to URL
  ✅ useDataGridRemote writes page param to URL
useDataGridRemote writes pageSize param to URL
  ✅ useDataGridRemote writes pageSize param to URL
useDataGridRemote uses queryParamsPrefix when reading params from URL
  ✅ useDataGridRemote uses queryParamsPrefix when reading params from URL
useDataGridRemote adds queryParamsPrefix when writing to URL if queryParamsPrefix is set
  ✅ useDataGridRemote adds queryParamsPrefix when writing to URL if queryParamsPrefix is set
useDataGridRemote uses initial default pageSize if no pageSize is set in the URL
  ✅ useDataGridRemote uses initial default pageSize if no pageSize is set in the URL
useDataGridRemote doesn't use initial default pageSize if a pageSize is set in the URL
  ✅ useDataGridRemote doesn't use initial default pageSize if a pageSize is set in the URL
useDataGridRemote uses initial sort if no sort is set in the URL
  ✅ useDataGridRemote uses initial sort if no sort is set in the URL
useDataGridRemote doesn't use initial default sort if sort is set in the URL
  ✅ useDataGridRemote doesn't use initial default sort if sort is set in the URL

✅ admin/admin-date-time/node_modules/@comet/admin/junit.xml

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

Test suite Passed Failed Skipped Time
useDataGridRemote 14✅ 9s

✅ useDataGridRemote

useDataGridRemote reads sort param from URL and returns correct value
  ✅ useDataGridRemote reads sort param from URL and returns correct value
useDataGridRemote reads filter param from URL and returns correct value
  ✅ useDataGridRemote reads filter param from URL and returns correct value
useDataGridRemote reads page param from URL and returns correct value
  ✅ useDataGridRemote reads page param from URL and returns correct value
useDataGridRemote reads pageSize param from URL and returns correct value
  ✅ useDataGridRemote reads pageSize param from URL and returns correct value
useDataGridRemote writes sort param to URL
  ✅ useDataGridRemote writes sort param to URL
useDataGridRemote writes filter param to URL
  ✅ useDataGridRemote writes filter param to URL
useDataGridRemote writes page param to URL
  ✅ useDataGridRemote writes page param to URL
useDataGridRemote writes pageSize param to URL
  ✅ useDataGridRemote writes pageSize param to URL
useDataGridRemote uses queryParamsPrefix when reading params from URL
  ✅ useDataGridRemote uses queryParamsPrefix when reading params from URL
useDataGridRemote adds queryParamsPrefix when writing to URL if queryParamsPrefix is set
  ✅ useDataGridRemote adds queryParamsPrefix when writing to URL if queryParamsPrefix is set
useDataGridRemote uses initial default pageSize if no pageSize is set in the URL
  ✅ useDataGridRemote uses initial default pageSize if no pageSize is set in the URL
useDataGridRemote doesn't use initial default pageSize if a pageSize is set in the URL
  ✅ useDataGridRemote doesn't use initial default pageSize if a pageSize is set in the URL
useDataGridRemote uses initial sort if no sort is set in the URL
  ✅ useDataGridRemote uses initial sort if no sort is set in the URL
useDataGridRemote doesn't use initial default sort if sort is set in the URL
  ✅ useDataGridRemote doesn't use initial default sort if sort is set in the URL

✅ admin/admin-react-select/node_modules/@comet/admin/junit.xml

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

Test suite Passed Failed Skipped Time
useDataGridRemote 14✅ 9s

✅ useDataGridRemote

useDataGridRemote reads sort param from URL and returns correct value
  ✅ useDataGridRemote reads sort param from URL and returns correct value
useDataGridRemote reads filter param from URL and returns correct value
  ✅ useDataGridRemote reads filter param from URL and returns correct value
useDataGridRemote reads page param from URL and returns correct value
  ✅ useDataGridRemote reads page param from URL and returns correct value
useDataGridRemote reads pageSize param from URL and returns correct value
  ✅ useDataGridRemote reads pageSize param from URL and returns correct value
useDataGridRemote writes sort param to URL
  ✅ useDataGridRemote writes sort param to URL
useDataGridRemote writes filter param to URL
  ✅ useDataGridRemote writes filter param to URL
useDataGridRemote writes page param to URL
  ✅ useDataGridRemote writes page param to URL
useDataGridRemote writes pageSize param to URL
  ✅ useDataGridRemote writes pageSize param to URL
useDataGridRemote uses queryParamsPrefix when reading params from URL
  ✅ useDataGridRemote uses queryParamsPrefix when reading params from URL
useDataGridRemote adds queryParamsPrefix when writing to URL if queryParamsPrefix is set
  ✅ useDataGridRemote adds queryParamsPrefix when writing to URL if queryParamsPrefix is set
useDataGridRemote uses initial default pageSize if no pageSize is set in the URL
  ✅ useDataGridRemote uses initial default pageSize if no pageSize is set in the URL
useDataGridRemote doesn't use initial default pageSize if a pageSize is set in the URL
  ✅ useDataGridRemote doesn't use initial default pageSize if a pageSize is set in the URL
useDataGridRemote uses initial sort if no sort is set in the URL
  ✅ useDataGridRemote uses initial sort if no sort is set in the URL
useDataGridRemote doesn't use initial default sort if sort is set in the URL
  ✅ useDataGridRemote doesn't use initial default sort if sort is set in the URL

✅ admin/admin-stories/node_modules/@comet/admin-color-picker/node_modules/@comet/admin/junit.xml

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

Test suite Passed Failed Skipped Time
useDataGridRemote 14✅ 9s

✅ useDataGridRemote

useDataGridRemote reads sort param from URL and returns correct value
  ✅ useDataGridRemote reads sort param from URL and returns correct value
useDataGridRemote reads filter param from URL and returns correct value
  ✅ useDataGridRemote reads filter param from URL and returns correct value
useDataGridRemote reads page param from URL and returns correct value
  ✅ useDataGridRemote reads page param from URL and returns correct value
useDataGridRemote reads pageSize param from URL and returns correct value
  ✅ useDataGridRemote reads pageSize param from URL and returns correct value
useDataGridRemote writes sort param to URL
  ✅ useDataGridRemote writes sort param to URL
useDataGridRemote writes filter param to URL
  ✅ useDataGridRemote writes filter param to URL
useDataGridRemote writes page param to URL
  ✅ useDataGridRemote writes page param to URL
useDataGridRemote writes pageSize param to URL
  ✅ useDataGridRemote writes pageSize param to URL
useDataGridRemote uses queryParamsPrefix when reading params from URL
  ✅ useDataGridRemote uses queryParamsPrefix when reading params from URL
useDataGridRemote adds queryParamsPrefix when writing to URL if queryParamsPrefix is set
  ✅ useDataGridRemote adds queryParamsPrefix when writing to URL if queryParamsPrefix is set
useDataGridRemote uses initial default pageSize if no pageSize is set in the URL
  ✅ useDataGridRemote uses initial default pageSize if no pageSize is set in the URL
useDataGridRemote doesn't use initial default pageSize if a pageSize is set in the URL
  ✅ useDataGridRemote doesn't use initial default pageSize if a pageSize is set in the URL
useDataGridRemote uses initial sort if no sort is set in the URL
  ✅ useDataGridRemote uses initial sort if no sort is set in the URL
useDataGridRemote doesn't use initial default sort if sort is set in the URL
  ✅ useDataGridRemote doesn't use initial default sort if sort is set in the URL

✅ admin/admin-stories/node_modules/@comet/admin-date-time/node_modules/@comet/admin/junit.xml

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

Test suite Passed Failed Skipped Time
useDataGridRemote 14✅ 9s

✅ useDataGridRemote

useDataGridRemote reads sort param from URL and returns correct value
  ✅ useDataGridRemote reads sort param from URL and returns correct value
useDataGridRemote reads filter param from URL and returns correct value
  ✅ useDataGridRemote reads filter param from URL and returns correct value
useDataGridRemote reads page param from URL and returns correct value
  ✅ useDataGridRemote reads page param from URL and returns correct value
useDataGridRemote reads pageSize param from URL and returns correct value
  ✅ useDataGridRemote reads pageSize param from URL and returns correct value
useDataGridRemote writes sort param to URL
  ✅ useDataGridRemote writes sort param to URL
useDataGridRemote writes filter param to URL
  ✅ useDataGridRemote writes filter param to URL
useDataGridRemote writes page param to URL
  ✅ useDataGridRemote writes page param to URL
useDataGridRemote writes pageSize param to URL
  ✅ useDataGridRemote writes pageSize param to URL
useDataGridRemote uses queryParamsPrefix when reading params from URL
  ✅ useDataGridRemote uses queryParamsPrefix when reading params from URL
useDataGridRemote adds queryParamsPrefix when writing to URL if queryParamsPrefix is set
  ✅ useDataGridRemote adds queryParamsPrefix when writing to URL if queryParamsPrefix is set
useDataGridRemote uses initial default pageSize if no pageSize is set in the URL
  ✅ useDataGridRemote uses initial default pageSize if no pageSize is set in the URL
useDataGridRemote doesn't use initial default pageSize if a pageSize is set in the URL
  ✅ useDataGridRemote doesn't use initial default pageSize if a pageSize is set in the URL
useDataGridRemote uses initial sort if no sort is set in the URL
  ✅ useDataGridRemote uses initial sort if no sort is set in the URL
useDataGridRemote doesn't use initial default sort if sort is set in the URL
  ✅ useDataGridRemote doesn't use initial default sort if sort is set in the URL

✅ admin/admin-stories/node_modules/@comet/admin-react-select/node_modules/@comet/admin/junit.xml

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

Test suite Passed Failed Skipped Time
useDataGridRemote 14✅ 9s

✅ useDataGridRemote

useDataGridRemote reads sort param from URL and returns correct value
  ✅ useDataGridRemote reads sort param from URL and returns correct value
useDataGridRemote reads filter param from URL and returns correct value
  ✅ useDataGridRemote reads filter param from URL and returns correct value
useDataGridRemote reads page param from URL and returns correct value
  ✅ useDataGridRemote reads page param from URL and returns correct value
useDataGridRemote reads pageSize param from URL and returns correct value
  ✅ useDataGridRemote reads pageSize param from URL and returns correct value
useDataGridRemote writes sort param to URL
  ✅ useDataGridRemote writes sort param to URL
useDataGridRemote writes filter param to URL
  ✅ useDataGridRemote writes filter param to URL
useDataGridRemote writes page param to URL
  ✅ useDataGridRemote writes page param to URL
useDataGridRemote writes pageSize param to URL
  ✅ useDataGridRemote writes pageSize param to URL
useDataGridRemote uses queryParamsPrefix when reading params from URL
  ✅ useDataGridRemote uses queryParamsPrefix when reading params from URL
useDataGridRemote adds queryParamsPrefix when writing to URL if queryParamsPrefix is set
  ✅ useDataGridRemote adds queryParamsPrefix when writing to URL if queryParamsPrefix is set
useDataGridRemote uses initial default pageSize if no pageSize is set in the URL
  ✅ useDataGridRemote uses initial default pageSize if no pageSize is set in the URL
useDataGridRemote doesn't use initial default pageSize if a pageSize is set in the URL
  ✅ useDataGridRemote doesn't use initial default pageSize if a pageSize is set in the URL
useDataGridRemote uses initial sort if no sort is set in the URL
  ✅ useDataGridRemote uses initial sort if no sort is set in the URL
useDataGridRemote doesn't use initial default sort if sort is set in the URL
  ✅ useDataGridRemote doesn't use initial default sort if sort is set in the URL

✅ admin/admin-stories/node_modules/@comet/admin/junit.xml

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

Test suite Passed Failed Skipped Time
useDataGridRemote 14✅ 9s

✅ useDataGridRemote

useDataGridRemote reads sort param from URL and returns correct value
  ✅ useDataGridRemote reads sort param from URL and returns correct value
useDataGridRemote reads filter param from URL and returns correct value
  ✅ useDataGridRemote reads filter param from URL and returns correct value
useDataGridRemote reads page param from URL and returns correct value
  ✅ useDataGridRemote reads page param from URL and returns correct value
useDataGridRemote reads pageSize param from URL and returns correct value
  ✅ useDataGridRemote reads pageSize param from URL and returns correct value
useDataGridRemote writes sort param to URL
  ✅ useDataGridRemote writes sort param to URL
useDataGridRemote writes filter param to URL
  ✅ useDataGridRemote writes filter param to URL
useDataGridRemote writes page param to URL
  ✅ useDataGridRemote writes page param to URL
useDataGridRemote writes pageSize param to URL
  ✅ useDataGridRemote writes pageSize param to URL
useDataGridRemote uses queryParamsPrefix when reading params from URL
  ✅ useDataGridRemote uses queryParamsPrefix when reading params from URL
useDataGridRemote adds queryParamsPrefix when writing to URL if queryParamsPrefix is set
  ✅ useDataGridRemote adds queryParamsPrefix when writing to URL if queryParamsPrefix is set
useDataGridRemote uses initial default pageSize if no pageSize is set in the URL
  ✅ useDataGridRemote uses initial default pageSize if no pageSize is set in the URL
useDataGridRemote doesn't use initial default pageSize if a pageSize is set in the URL
  ✅ useDataGridRemote doesn't use initial default pageSize if a pageSize is set in the URL
useDataGridRemote uses initial sort if no sort is set in the URL
  ✅ useDataGridRemote uses initial sort if no sort is set in the URL
useDataGridRemote doesn't use initial default sort if sort is set in the URL
  ✅ useDataGridRemote doesn't use initial default sort if sort is set in the URL

✅ admin/admin/junit.xml

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

Test suite Passed Failed Skipped Time
useDataGridRemote 14✅ 9s

✅ useDataGridRemote

useDataGridRemote reads sort param from URL and returns correct value
  ✅ useDataGridRemote reads sort param from URL and returns correct value
useDataGridRemote reads filter param from URL and returns correct value
  ✅ useDataGridRemote reads filter param from URL and returns correct value
useDataGridRemote reads page param from URL and returns correct value
  ✅ useDataGridRemote reads page param from URL and returns correct value
useDataGridRemote reads pageSize param from URL and returns correct value
  ✅ useDataGridRemote reads pageSize param from URL and returns correct value
useDataGridRemote writes sort param to URL
  ✅ useDataGridRemote writes sort param to URL
useDataGridRemote writes filter param to URL
  ✅ useDataGridRemote writes filter param to URL
useDataGridRemote writes page param to URL
  ✅ useDataGridRemote writes page param to URL
useDataGridRemote writes pageSize param to URL
  ✅ useDataGridRemote writes pageSize param to URL
useDataGridRemote uses queryParamsPrefix when reading params from URL
  ✅ useDataGridRemote uses queryParamsPrefix when reading params from URL
useDataGridRemote adds queryParamsPrefix when writing to URL if queryParamsPrefix is set
  ✅ useDataGridRemote adds queryParamsPrefix when writing to URL if queryParamsPrefix is set
useDataGridRemote uses initial default pageSize if no pageSize is set in the URL
  ✅ useDataGridRemote uses initial default pageSize if no pageSize is set in the URL
useDataGridRemote doesn't use initial default pageSize if a pageSize is set in the URL
  ✅ useDataGridRemote doesn't use initial default pageSize if a pageSize is set in the URL
useDataGridRemote uses initial sort if no sort is set in the URL
  ✅ useDataGridRemote uses initial sort if no sort is set in the URL
useDataGridRemote doesn't use initial default sort if sort is set in the URL
  ✅ useDataGridRemote doesn't use initial default sort if sort is set in the URL

✅ admin/blocks-admin/junit.xml

5 tests were completed in 12s with 5 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
composeBlocks 4✅ 12s
createCompositeSetting 1✅ 5s

✅ composeBlocks

composeBlocks composes values of 2 BlockInterfaces
  ✅ composeBlocks composes values of 2 BlockInterfaces
composeBlocks composes values of 1 BlockInterface and 1 settings - flattened
  ✅ composeBlocks composes values of 1 BlockInterface and 1 settings - flattened
composeBlocks composes values of 2 BlockInterface and 1 scalar setting
  ✅ composeBlocks composes values of 2 BlockInterface and 1 scalar setting
composeBlocks composes values of 1 BlockInterface and 1 setting with value undefined
  ✅ composeBlocks composes values of 1 BlockInterface and 1 setting with value undefined

✅ createCompositeSetting

createCompositeSetting should work with an array value
  ✅ createCompositeSetting should work with an array value

✅ admin/blocks-admin/node_modules/@comet/admin/junit.xml

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

Test suite Passed Failed Skipped Time
useDataGridRemote 14✅ 9s

✅ useDataGridRemote

useDataGridRemote reads sort param from URL and returns correct value
  ✅ useDataGridRemote reads sort param from URL and returns correct value
useDataGridRemote reads filter param from URL and returns correct value
  ✅ useDataGridRemote reads filter param from URL and returns correct value
useDataGridRemote reads page param from URL and returns correct value
  ✅ useDataGridRemote reads page param from URL and returns correct value
useDataGridRemote reads pageSize param from URL and returns correct value
  ✅ useDataGridRemote reads pageSize param from URL and returns correct value
useDataGridRemote writes sort param to URL
  ✅ useDataGridRemote writes sort param to URL
useDataGridRemote writes filter param to URL
  ✅ useDataGridRemote writes filter param to URL
useDataGridRemote writes page param to URL
  ✅ useDataGridRemote writes page param to URL
useDataGridRemote writes pageSize param to URL
  ✅ useDataGridRemote writes pageSize param to URL
useDataGridRemote uses queryParamsPrefix when reading params from URL
  ✅ useDataGridRemote uses queryParamsPrefix when reading params from URL
useDataGridRemote adds queryParamsPrefix when writing to URL if queryParamsPrefix is set
  ✅ useDataGridRemote adds queryParamsPrefix when writing to URL if queryParamsPrefix is set
useDataGridRemote uses initial default pageSize if no pageSize is set in the URL
  ✅ useDataGridRemote uses initial default pageSize if no pageSize is set in the URL
useDataGridRemote doesn't use initial default pageSize if a pageSize is set in the URL
  ✅ useDataGridRemote doesn't use initial default pageSize if a pageSize is set in the URL
useDataGridRemote uses initial sort if no sort is set in the URL
  ✅ useDataGridRemote uses initial sort if no sort is set in the URL
useDataGridRemote doesn't use initial default sort if sort is set in the URL
  ✅ useDataGridRemote doesn't use initial default sort if sort is set in the URL

✅ admin/cms-admin/junit.xml

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

Test suite Passed Failed Skipped Time
buildPreviewUrl 2✅ 416ms
rewriteInternalLinks 2✅ 8s
TreeMapUtils 3✅ 8s
TreeMapUtils 8✅ 8s
TreeMapUtils 5✅ 474ms

✅ buildPreviewUrl

buildPreviewUrl Should build preview url
  ✅ buildPreviewUrl Should build preview url
buildPreviewUrl Should build preview url with query params
  ✅ buildPreviewUrl Should build preview url with query params

✅ rewriteInternalLinks

rewriteInternalLinks rewrites links to known internal pages
  ✅ rewriteInternalLinks rewrites links to known internal pages
rewriteInternalLinks ignores links to unknown internal pages
  ✅ rewriteInternalLinks ignores links to unknown internal pages

✅ TreeMapUtils

TreeMapUtils subTreeFromNodes  - empty
  ✅ TreeMapUtils subTreeFromNodes  - empty
TreeMapUtils subTreeFromNodes  - first level
  ✅ TreeMapUtils subTreeFromNodes  - first level
TreeMapUtils subTreeFromNodes - nested levels
  ✅ TreeMapUtils subTreeFromNodes - nested levels

✅ TreeMapUtils

TreeMapUtils subTreeFromNodes  - empty
  ✅ TreeMapUtils subTreeFromNodes  - empty
TreeMapUtils subTreeFromNodes  - first level
  ✅ TreeMapUtils subTreeFromNodes  - first level
TreeMapUtils subTreeFromNodes - nested levels
  ✅ TreeMapUtils subTreeFromNodes - nested levels
areAllSubTreesFullSelected nothing selected
  ✅ areAllSubTreesFullSelected nothing selected
areAllSubTreesFullSelected everything selected
  ✅ areAllSubTreesFullSelected everything selected
areAllSubTreesFullSelected sub tree selected
  ✅ areAllSubTreesFullSelected sub tree selected
areAllSubTreesFullSelected nested leaf selected
  ✅ areAllSubTreesFullSelected nested leaf selected
areAllSubTreesFullSelected nested not selected
  ✅ areAllSubTreesFullSelected nested not selected

✅ TreeMapUtils

TreeMapUtils subTreeFromNodes  - empty
  ✅ TreeMapUtils subTreeFromNodes  - empty
TreeMapUtils subTreeFromNodes  - first level
  ✅ TreeMapUtils subTreeFromNodes  - first level
TreeMapUtils subTreeFromNodes - nested levels
  ✅ TreeMapUtils subTreeFromNodes - nested levels
TreeMap traverse pre order
  ✅ TreeMap traverse pre order
TreeMap traverse post order
  ✅ TreeMap traverse post order

✅ admin/cms-admin/node_modules/@comet/admin-date-time/node_modules/@comet/admin/junit.xml

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

Test suite Passed Failed Skipped Time
useDataGridRemote 14✅ 9s

✅ useDataGridRemote

useDataGridRemote reads sort param from URL and returns correct value
  ✅ useDataGridRemote reads sort param from URL and returns correct value
useDataGridRemote reads filter param from URL and returns correct value
  ✅ useDataGridRemote reads filter param from URL and returns correct value
useDataGridRemote reads page param from URL and returns correct value
  ✅ useDataGridRemote reads page param from URL and returns correct value
useDataGridRemote reads pageSize param from URL and returns correct value
  ✅ useDataGridRemote reads pageSize param from URL and returns correct value
useDataGridRemote writes sort param to URL
  ✅ useDataGridRemote writes sort param to URL
useDataGridRemote writes filter param to URL
  ✅ useDataGridRemote writes filter param to URL
useDataGridRemote writes page param to URL
  ✅ useDataGridRemote writes page param to URL
useDataGridRemote writes pageSize param to URL
  ✅ useDataGridRemote writes pageSize param to URL
useDataGridRemote uses queryParamsPrefix when reading params from URL
  ✅ useDataGridRemote uses queryParamsPrefix when reading params from URL
useDataGridRemote adds queryParamsPrefix when writing to URL if queryParamsPrefix is set
  ✅ useDataGridRemote adds queryParamsPrefix when writing to URL if queryParamsPrefix is set
useDataGridRemote uses initial default pageSize if no pageSize is set in the URL
  ✅ useDataGridRemote uses initial default pageSize if no pageSize is set in the URL
useDataGridRemote doesn't use initial default pageSize if a pageSize is set in the URL
  ✅ useDataGridRemote doesn't use initial default pageSize if a pageSize is set in the URL
useDataGridRemote uses initial sort if no sort is set in the URL
  ✅ useDataGridRemote uses initial sort if no sort is set in the URL
useDataGridRemote doesn't use initial default sort if sort is set in the URL
  ✅ useDataGridRemote doesn't use initial default sort if sort is set in the URL

✅ admin/cms-admin/node_modules/@comet/admin/junit.xml

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

Test suite Passed Failed Skipped Time
useDataGridRemote 14✅ 9s

✅ useDataGridRemote

useDataGridRemote reads sort param from URL and returns correct value
  ✅ useDataGridRemote reads sort param from URL and returns correct value
useDataGridRemote reads filter param from URL and returns correct value
  ✅ useDataGridRemote reads filter param from URL and returns correct value
useDataGridRemote reads page param from URL and returns correct value
  ✅ useDataGridRemote reads page param from URL and returns correct value
useDataGridRemote reads pageSize param from URL and returns correct value
  ✅ useDataGridRemote reads pageSize param from URL and returns correct value
useDataGridRemote writes sort param to URL
  ✅ useDataGridRemote writes sort param to URL
useDataGridRemote writes filter param to URL
  ✅ useDataGridRemote writes filter param to URL
useDataGridRemote writes page param to URL
  ✅ useDataGridRemote writes page param to URL
useDataGridRemote writes pageSize param to URL
  ✅ useDataGridRemote writes pageSize param to URL
useDataGridRemote uses queryParamsPrefix when reading params from URL
  ✅ useDataGridRemote uses queryParamsPrefix when reading params from URL
useDataGridRemote adds queryParamsPrefix when writing to URL if queryParamsPrefix is set
  ✅ useDataGridRemote adds queryParamsPrefix when writing to URL if queryParamsPrefix is set
useDataGridRemote uses initial default pageSize if no pageSize is set in the URL
  ✅ useDataGridRemote uses initial default pageSize if no pageSize is set in the URL
useDataGridRemote doesn't use initial default pageSize if a pageSize is set in the URL
  ✅ useDataGridRemote doesn't use initial default pageSize if a pageSize is set in the URL
useDataGridRemote uses initial sort if no sort is set in the URL
  ✅ useDataGridRemote uses initial sort if no sort is set in the URL
useDataGridRemote doesn't use initial default sort if sort is set in the URL
  ✅ useDataGridRemote doesn't use initial default sort if sort is set in the URL

✅ admin/cms-admin/node_modules/@comet/blocks-admin/junit.xml

5 tests were completed in 12s with 5 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
composeBlocks 4✅ 12s
createCompositeSetting 1✅ 5s

✅ composeBlocks

composeBlocks composes values of 2 BlockInterfaces
  ✅ composeBlocks composes values of 2 BlockInterfaces
composeBlocks composes values of 1 BlockInterface and 1 settings - flattened
  ✅ composeBlocks composes values of 1 BlockInterface and 1 settings - flattened
composeBlocks composes values of 2 BlockInterface and 1 scalar setting
  ✅ composeBlocks composes values of 2 BlockInterface and 1 scalar setting
composeBlocks composes values of 1 BlockInterface and 1 setting with value undefined
  ✅ composeBlocks composes values of 1 BlockInterface and 1 setting with value undefined

✅ createCompositeSetting

createCompositeSetting should work with an array value
  ✅ createCompositeSetting should work with an array value

✅ admin/cms-admin/node_modules/@comet/blocks-admin/node_modules/@comet/admin/junit.xml

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

Test suite Passed Failed Skipped Time
useDataGridRemote 14✅ 9s

✅ useDataGridRemote

useDataGridRemote reads sort param from URL and returns correct value
  ✅ useDataGridRemote reads sort param from URL and returns correct value
useDataGridRemote reads filter param from URL and returns correct value
  ✅ useDataGridRemote reads filter param from URL and returns correct value
useDataGridRemote reads page param from URL and returns correct value
  ✅ useDataGridRemote reads page param from URL and returns correct value
useDataGridRemote reads pageSize param from URL and returns correct value
  ✅ useDataGridRemote reads pageSize param from URL and returns correct value
useDataGridRemote writes sort param to URL
  ✅ useDataGridRemote writes sort param to URL
useDataGridRemote writes filter param to URL
  ✅ useDataGridRemote writes filter param to URL
useDataGridRemote writes page param to URL
  ✅ useDataGridRemote writes page param to URL
useDataGridRemote writes pageSize param to URL
  ✅ useDataGridRemote writes pageSize param to URL
useDataGridRemote uses queryParamsPrefix when reading params from URL
  ✅ useDataGridRemote uses queryParamsPrefix when reading params from URL
useDataGridRemote adds queryParamsPrefix when writing to URL if queryParamsPrefix is set
  ✅ useDataGridRemote adds queryParamsPrefix when writing to URL if queryParamsPrefix is set
useDataGridRemote uses initial default pageSize if no pageSize is set in the URL
  ✅ useDataGridRemote uses initial default pageSize if no pageSize is set in the URL
useDataGridRemote doesn't use initial default pageSize if a pageSize is set in the URL
  ✅ useDataGridRemote doesn't use initial default pageSize if a pageSize is set in the URL
useDataGridRemote uses initial sort if no sort is set in the URL
  ✅ useDataGridRemote uses initial sort if no sort is set in the URL
useDataGridRemote doesn't use initial default sort if sort is set in the URL
  ✅ useDataGridRemote doesn't use initial default sort if sort is set in the URL

✅ api/blocks-api/junit.xml

7 tests were completed in 5s with 7 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
FlatBlocks 2✅ 5s
Search 3✅ 5s
transform to save index 2✅ 5s

✅ FlatBlocks

FlatBlocks visits all BlockData-references breadth first
  ✅ FlatBlocks visits all BlockData-references breadth first
FlatBlocks visits childblocks of blockBlock
  ✅ FlatBlocks visits childblocks of blockBlock

✅ Search

Search gets SearchData
  ✅ Search gets SearchData
Search gets SearchData and respects invisible blocks
  ✅ Search gets SearchData and respects invisible blocks
Search gets SearchData and respects nested invisible blocks
  ✅ Search gets SearchData and respects nested invisible blocks

✅ transform to save index

transform to save index build correctly
  ✅ transform to save index build correctly
transform to save index extract damFileId
  ✅ transform to save index extract damFileId

✅ api/cms-api/junit.xml

35 tests were completed in 21s with 35 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
Files Utils 3✅ 3s
GenerateCrudInput 4✅ 20s
IsSlug 3✅ 735ms
RootBlockDataScalar 2✅ 2s
RootBlockInputScalar 2✅ 17s
searchToMikroOrmQuery 21✅ 16s

✅ Files Utils

Files Utils svgContainsJavaScript should return false if the svg doesn't contain a script tag or event handler
  ✅ Files Utils svgContainsJavaScript should return false if the svg doesn't contain a script tag or event handler
Files Utils svgContainsJavaScript should return true if the svg contains a script tag
  ✅ Files Utils svgContainsJavaScript should return true if the svg contains a script tag
Files Utils svgContainsJavaScript should return true if the svg contains an event handler
  ✅ Files Utils svgContainsJavaScript should return true if the svg contains an event handler

✅ GenerateCrudInput

GenerateCrudInput string input class should be a valid generated ts file
  ✅ GenerateCrudInput string input class should be a valid generated ts file
GenerateCrudInput date input class should be a valid generated ts file
  ✅ GenerateCrudInput date input class should be a valid generated ts file
GenerateCrudInput boolean input class should be a valid generated ts file
  ✅ GenerateCrudInput boolean input class should be a valid generated ts file
GenerateCrudInput enum input class should be a valid generated ts file
  ✅ GenerateCrudInput enum input class should be a valid generated ts file

✅ IsSlug

IsSlug findAll should accept a valid slug
  ✅ IsSlug findAll should accept a valid slug
IsSlug findAll should not accept space
  ✅ IsSlug findAll should not accept space
IsSlug findAll should not accept umlaut
  ✅ IsSlug findAll should not accept umlaut

✅ RootBlockDataScalar

RootBlockDataScalar should work
  ✅ RootBlockDataScalar should work
RootBlockDataScalar should work with multiple instances of the same scalar
  ✅ RootBlockDataScalar should work with multiple instances of the same scalar

✅ RootBlockInputScalar

RootBlockInputScalar should work
  ✅ RootBlockInputScalar should work
RootBlockInputScalar should work with multiple instances of the same scalar
  ✅ RootBlockInputScalar should work with multiple instances of the same scalar

✅ searchToMikroOrmQuery

searchToMikroOrmQuery should work
  ✅ searchToMikroOrmQuery should work
searchToMikroOrmQuery should escape %
  ✅ searchToMikroOrmQuery should escape %
searchToMikroOrmQuery should escape _
  ✅ searchToMikroOrmQuery should escape _
filterToMikroOrmQuery string equal
  ✅ filterToMikroOrmQuery string equal
filterToMikroOrmQuery string not equal
  ✅ filterToMikroOrmQuery string not equal
filterToMikroOrmQuery string contains
  ✅ filterToMikroOrmQuery string contains
filterToMikroOrmQuery string contains escape %
  ✅ filterToMikroOrmQuery string contains escape %
filterToMikroOrmQuery string contains escape _
  ✅ filterToMikroOrmQuery string contains escape _
filterToMikroOrmQuery string starts with
  ✅ filterToMikroOrmQuery string starts with
filterToMikroOrmQuery string ends with
  ✅ filterToMikroOrmQuery string ends with
filterToMikroOrmQuery string starts with and contains
  ✅ filterToMikroOrmQuery string starts with and contains
filterToMikroOrmQuery number equals
  ✅ filterToMikroOrmQuery number equals
filterToMikroOrmQuery number not equals
  ✅ filterToMikroOrmQuery number not equals
filterToMikroOrmQuery number gt
  ✅ filterToMikroOrmQuery number gt
filterToMikroOrmQuery boolean equals
  ✅ filterToMikroOrmQuery boolean equals
filtersToMikroOrmQuery string equal
  ✅ filtersToMikroOrmQuery string equal
filtersToMikroOrmQuery and filter
  ✅ filtersToMikroOrmQuery and filter
filtersToMikroOrmQuery or filter
  ✅ filtersToMikroOrmQuery or filter
filtersToMikroOrmQuery custom apply filter
  ✅ filtersToMikroOrmQuery custom apply filter
filtersToMikroOrmQuery custom apply filter with default fallback
  ✅ filtersToMikroOrmQuery custom apply filter with default fallback
filtersToMikroOrmQuery empty filter
  ✅ filtersToMikroOrmQuery empty filter

✅ api/cms-api/node_modules/@comet/blocks-api/junit.xml

7 tests were completed in 5s with 7 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
FlatBlocks 2✅ 5s
Search 3✅ 5s
transform to save index 2✅ 5s

✅ FlatBlocks

FlatBlocks visits all BlockData-references breadth first
  ✅ FlatBlocks visits all BlockData-references breadth first
FlatBlocks visits childblocks of blockBlock
  ✅ FlatBlocks visits childblocks of blockBlock

✅ Search

Search gets SearchData
  ✅ Search gets SearchData
Search gets SearchData and respects invisible blocks
  ✅ Search gets SearchData and respects invisible blocks
Search gets SearchData and respects nested invisible blocks
  ✅ Search gets SearchData and respects nested invisible blocks

✅ transform to save index

transform to save index build correctly
  ✅ transform to save index build correctly
transform to save index extract damFileId
  ✅ transform to save index extract damFileId

✅ site/cms-site/junit.xml

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

Test suite Passed Failed Skipped Time
Preview utils 4✅ 8s
useRouter 2✅ 7s

✅ Preview utils

Preview utils Should parse preview state
  ✅ Preview utils Should parse preview state
Preview utils Should create preview path for string path
  ✅ Preview utils Should create preview path for string path
Preview utils Should create preview path for string path with query params
  ✅ Preview utils Should create preview path for string path with query params
Preview utils Should create preview path for object path
  ✅ Preview utils Should create preview path for object path

✅ useRouter

useRouter push
  ✅ useRouter push
useRouter replace
  ✅ useRouter replace