Skip to content

added test cases for max_post_count #411

added test cases for max_post_count

added test cases for max_post_count #411

GitHub Actions / Mocha Tests succeeded Aug 16, 2024 in 0s

40 passed, 0 failed and 0 skipped

Tests passed successfully

Report Passed Failed Skipped Time
dist-report.json 20✅ 6s
src-report.json 20✅ 7s

✅ dist-report.json

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

Test suite Passed Failed Skipped Time
test/categories-template.js 1✅ 720ms
test/categories.js 1✅ 793ms
test/counter.js 1✅ 664ms
test/custom-template.js 1✅ 736ms
test/default.js 1✅ 657ms
test/disable-sort.js 1✅ 680ms
test/duplicate.js 1✅ 497ms
test/emojikey.js 1✅ 713ms
test/feed-names.js 1✅ 813ms
test/js-manipulation.js 1✅ 636ms
test/max-post-count.js 1✅ 678ms
test/multiple.js 1✅ 659ms
test/random-emoji.js 1✅ 602ms
test/retry.js 1✅ 5s
test/truncated description.js 1✅ 564ms
test/truncated-title.js 1✅ 565ms
test/unit-tests.js 1✅ 1ms
test/validation-flag.js 1✅ 287ms
test/without-custom-elements.js 1✅ 547ms
test/without-filters.js 1✅ 533ms

✅ test/categories-template.js

Generated readme with categories template
  ✅ should match the snapshot

✅ test/categories.js

Generated readme with categories names
  ✅ should match the snapshot

✅ test/counter.js

Generated readme with $counter template
  ✅ should match the snapshot

✅ test/custom-template.js

Custom template readme generated
  ✅ should match the snapshot

✅ test/default.js

Default template readme generated
  ✅ should match the snapshot

✅ test/disable-sort.js

Sorting disabled readme
  ✅ should be equal to the saved snapshot

✅ test/duplicate.js

Generated readme with remove duplicates flag
  ✅ should match the snapshot

✅ test/emojikey.js

Generated readme with $emojiKey template
  ✅ should match the snapshot

✅ test/feed-names.js

Generated readme with feed names
  ✅ should match the snapshot

✅ test/js-manipulation.js

Generated readme with advanced manipulation via JS
  ✅ should match the snapshot

✅ test/max-post-count.js

Generated readme with max post count
  ✅ should match the snapshot

✅ test/multiple.js

Multiple readme generated via readme_path
  ✅ should match the snapshots

✅ test/random-emoji.js

Default template readme generated
  ✅ Generated readme with $randomEmoji template should match the snapshot

✅ test/retry.js

Readme generated after retry
  ✅ should match the snapshot

✅ test/truncated description.js

Generated readme with truncated description
  ✅ should match the snapshot

✅ test/truncated-title.js

Generated readme with truncated title
  ✅ should match the snapshot

✅ test/unit-tests.js

Unit Tests
  ✅ escapeHTML should work as expected

✅ test/validation-flag.js

Generated readme with no validation flag
  ✅ should match the snapshot

✅ test/without-custom-elements.js

Generated readme without custom elements
  ✅ should match the snapshot

✅ test/without-filters.js

Generated readme without filters
  ✅ should match the snapshot

✅ src-report.json

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

Test suite Passed Failed Skipped Time
test/categories-template.js 1✅ 770ms
test/categories.js 1✅ 702ms
test/counter.js 1✅ 730ms
test/custom-template.js 1✅ 718ms
test/default.js 1✅ 647ms
test/disable-sort.js 1✅ 744ms
test/duplicate.js 1✅ 521ms
test/emojikey.js 1✅ 644ms
test/feed-names.js 1✅ 733ms
test/js-manipulation.js 1✅ 673ms
test/max-post-count.js 1✅ 596ms
test/multiple.js 1✅ 582ms
test/random-emoji.js 1✅ 627ms
test/retry.js 1✅ 5s
test/truncated description.js 1✅ 530ms
test/truncated-title.js 1✅ 507ms
test/unit-tests.js 1✅ 0ms
test/validation-flag.js 1✅ 423ms
test/without-custom-elements.js 1✅ 505ms
test/without-filters.js 1✅ 521ms

✅ test/categories-template.js

Generated readme with categories template
  ✅ should match the snapshot

✅ test/categories.js

Generated readme with categories names
  ✅ should match the snapshot

✅ test/counter.js

Generated readme with $counter template
  ✅ should match the snapshot

✅ test/custom-template.js

Custom template readme generated
  ✅ should match the snapshot

✅ test/default.js

Default template readme generated
  ✅ should match the snapshot

✅ test/disable-sort.js

Sorting disabled readme
  ✅ should be equal to the saved snapshot

✅ test/duplicate.js

Generated readme with remove duplicates flag
  ✅ should match the snapshot

✅ test/emojikey.js

Generated readme with $emojiKey template
  ✅ should match the snapshot

✅ test/feed-names.js

Generated readme with feed names
  ✅ should match the snapshot

✅ test/js-manipulation.js

Generated readme with advanced manipulation via JS
  ✅ should match the snapshot

✅ test/max-post-count.js

Generated readme with max post count
  ✅ should match the snapshot

✅ test/multiple.js

Multiple readme generated via readme_path
  ✅ should match the snapshots

✅ test/random-emoji.js

Default template readme generated
  ✅ Generated readme with $randomEmoji template should match the snapshot

✅ test/retry.js

Readme generated after retry
  ✅ should match the snapshot

✅ test/truncated description.js

Generated readme with truncated description
  ✅ should match the snapshot

✅ test/truncated-title.js

Generated readme with truncated title
  ✅ should match the snapshot

✅ test/unit-tests.js

Unit Tests
  ✅ escapeHTML should work as expected

✅ test/validation-flag.js

Generated readme with no validation flag
  ✅ should match the snapshot

✅ test/without-custom-elements.js

Generated readme without custom elements
  ✅ should match the snapshot

✅ test/without-filters.js

Generated readme without filters
  ✅ should match the snapshot