diff options
Diffstat (limited to 'tests/fixtures')
| -rw-r--r-- | tests/fixtures/test-init.el | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/tests/fixtures/test-init.el b/tests/fixtures/test-init.el new file mode 100644 index 0000000..26e8395 --- /dev/null +++ b/tests/fixtures/test-init.el @@ -0,0 +1,22 @@ +;;; test-init.el --- Test fixture for wttrin integration tests -*- lexical-binding: t; -*- + +;; This is a minimal init.el for testing wttrin with debug enabled + +;; Enable debug mode BEFORE loading wttrin +(setq wttrin-debug t) + +;; Configure wttrin +(setq wttrin-default-locations '("Berkeley, CA" "New Orleans, LA")) +(setq wttrin-unit-system "m") ; Metric +(setq wttrin-mode-line-favorite-location "Berkeley, CA") +(setq wttrin-mode-line-startup-delay 0) ; No delay for tests +(setq wttrin-mode-line-refresh-interval 3600) ; 1 hour + +;; Load wttrin (assumes it's in load-path) +(require 'wttrin) + +;; Don't auto-enable mode-line in tests (we'll do it explicitly) +(setq wttrin-mode-line-auto-enable nil) + +(provide 'test-init) +;;; test-init.el ends here |
