summaryrefslogtreecommitdiff
path: root/internal/timer
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-03-04 08:20:01 +0200
committerPaul Buetow <paul@buetow.org>2026-03-04 08:20:01 +0200
commit490cd9a0d86b6b7aa094e9bff778a408c9e55441 (patch)
treeeea9cbc1b52ed4170b612c64083e7e670be7c97b /internal/timer
parent70b5f026edeb2d2c0a8be8a35682426aed0b9e97 (diff)
tests: skip IO-heavy suites in short mode
Diffstat (limited to 'internal/timer')
-rw-r--r--internal/timer/operations_test.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/internal/timer/operations_test.go b/internal/timer/operations_test.go
index 5c73db6..c0480d7 100644
--- a/internal/timer/operations_test.go
+++ b/internal/timer/operations_test.go
@@ -10,6 +10,9 @@ import (
// setup sets up a temporary state file for testing.
func setup(t *testing.T) {
t.Helper()
+ if testing.Short() {
+ t.Skip("skipping timer integration-style tests in short mode")
+ }
tempDir := t.TempDir()
t.Setenv("XDG_CONFIG_HOME", tempDir)
t.Setenv("HOME", tempDir)