Skip to content

[FEATURE] Add Jest CI snippet#27

Merged
prog-time merged 3 commits into
mainfrom
issues-12
Apr 22, 2026
Merged

[FEATURE] Add Jest CI snippet#27
prog-time merged 3 commits into
mainfrom
issues-12

Conversation

@prog-time
Copy link
Copy Markdown
Owner

Summary

Adds a Jest CI snippet to the tests category — the JS/TS counterpart to the existing pytest / rspec / go test snippets. Introduces the three-layer pattern under tests/ (shell + source YAML + assembled YAML) matching the linter convention. Uses actions/setup-node@v4 (Node 20), actions/cache@v4 for node_modules keyed on package-lock.json, and runs npx jest --ci --runInBand --passWithNoTests.

Changes

  • issues-12|add jest CI snippetscripts/shell/tests/jest.sh, scripts/CI/tests/jest.yml, CI/tests/jest.yml
  • issues-12|add BATS tests for jest — 3 tests (missing config, passing, failing)
  • issues-12|document jest in README — Snippets table, Available snippets / Tests section, project structure tree

Test plan

  • bats tests/tests/jest.bats — 3/3 pass
  • yamllint clean on both new YAML files
  • CI green on this PR

Closes #12

@prog-time prog-time merged commit e77f3aa into main Apr 22, 2026
5 checks passed
@prog-time prog-time deleted the issues-12 branch April 22, 2026 18:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[FEATURE] Add Jest CI snippet

1 participant