Skip to content

Commit 6e9ee4b

Browse files
author
github-actions
committed
auto: Jest testing (#309)
* Add jest package * Port analyze tests * Add testUnsafe helper and config.test.js * Add mini.pkg.1 to test-js/ * Add exec.test.js * Add emacsVersion helper Fix return type of emacsVersion() * NPM script to reset test environments * Add TestContext class and simplify exec.test.js * Add options.test.js * Add buttercup.test.js * Add outdated.test.js * Add emacs.test.js * Add search.test.js * Add link.test.js * Log cmd output when DEBUG is set * Fix config.test.js * Add test-ecukes.test.js * Add test-ert.test.js * Add test-ert-runner.test.js * Add exit-status tests * Add local.test.js * Add docker.test.js * Add install.test.js * Add global.test.js * Tidy up log formatting * config.test.js should create ~/.emacs.d/init.el * global.test.js should create ~/Eask * Update analyze.test.js with TestContext * Add default timeout and message when cmd is killed * Remove local timeouts in test files * Add some doco to helpers.js * fix: add some comments * Sketch of doco page * Example of exit code matching * Add some file helpers * Add comprehensive tests to link.test.js * Move upgrade-eask test to own file * Check result of commands in install.test.js * Disable js-elpa in install.test.js to speed up test * Add output transformation helper * Add examples of snapshots to analyze.test.js * Update doco with snapshot example * Simplify options.test.js using test table * Update bug descriptions in link.test.js * Sanitize windows style paths * fix: try using double quotes to fix windows issue in exec.test.js * Teardown global env when ALLOW_UNSAFE is true * Check for global Easkfile in info -g test * Add removeFiles helper method * Tidy up generated files in local.test.js * Move ./test-js to ./test/jest * Update local patch test-js => test/jest * Increase docker.test.js timeout * Tweak timeouts of local.test.js * docs: comment on boolean env vars * rename npm script test-docker to test-ci * use jest tests in workflows * Only run eask loc on emacs >= 28.1 * Increase timeout in config.test.js * docs: add method doco to helpers.js * In config.test.js throw if init.el exists * Add workflow for upgrade-eask test * Remove makefile targets and old script files * docs: Add sections on snapshots and timeouts * docs: move Testing page onto "Developing Eask" page * Rename buttercup.test.js and outdated.test.js consistently * delete unused test project * style: Format it * docs: Add zh-TW translation * docs: Translate comment as well --------- Co-authored-by: JenChieh <[email protected]> SourceCommit: emacs-eask/cli@d8acd81
1 parent c62e4d4 commit 6e9ee4b

File tree

6 files changed

+294
-22
lines changed

6 files changed

+294
-22
lines changed

Contributing/Developing-Eask/index.html

Lines changed: 150 additions & 11 deletions
Large diffs are not rendered by default.

fonts/GeekdocIcons.woff

0 Bytes
Binary file not shown.

fonts/GeekdocIcons.woff2

4 Bytes
Binary file not shown.

search/en.data.min.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

search/zh-tw.data.min.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

zh-tw/Contributing/Developing-Eask/index.html

Lines changed: 142 additions & 9 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)