Skip to content

Removed all usages of legacy next/image #45

Removed all usages of legacy next/image

Removed all usages of legacy next/image #45

GitHub Actions / Vitest Tests succeeded Jan 17, 2024 in 1s

Vitest Tests ✅

Tests passed successfully

✅ reports/vitest-report.xml

15 tests were completed in 325ms with 15 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
src/utils/CommonUtil.test.ts 15✅ 5ms

✅ src/utils/CommonUtil.test.ts

src/utils/CommonUtil.test.ts
  ✅ isNullish > it returns true for null
  ✅ isNullish > it returns true for undefined
  ✅ isNullish > it returns false for 0
  ✅ isNullish > it returns false for false
  ✅ isNullish > it returns false for empty string
  ✅ isNullish > it returns false for empty array
  ✅ isNullish > it returns false for empty object
  ✅ isNullish > it returns false for NaN
  ✅ isNullish > it returns false for Infinity
  ✅ isNullish > it returns false for function
  ✅ isNullish > it returns false for class
  ✅ truncateString > it returns the original string if it is shorter than the limit
  ✅ truncateString > it returns the truncated string if it is longer than the limit
  ✅ truncateString > with default limit 50, it returns the original shorter string
  ✅ truncateString > with default limit 50, it returns the truncated string if it is longer than the limit