Skip to content

Move live-helper unit tests to tests/unit - #7

Closed
TheGreatAxios wants to merge 1 commit into
mainfrom
cl-9046-google-tools-split-live-helper-unit-tests-out-of-testslive
Closed

TheGreatAxios wants to merge 1 commit into
mainfrom
cl-9046-google-tools-split-live-helper-unit-tests-out-of-testslive

Conversation

@TheGreatAxios

Copy link
Copy Markdown
Contributor

Summary

  • credential, fixtures, and oauth helper tests move from tests/live to tests/unit; tests/live holds only the live e2e suites and their helpers.
  • test runs bun test src tests/unit instead of a file list.
  • bun run typecheck covers tests/unit, and CI runs bun run test since bare bun test ignores the script's scoping.

Touches the scripts block of package.json alongside #4; whichever merges second needs a trivial rebase.

Verification

  • bun run typecheck, bun run typecheck:live, bun run test (36 pass), bun run build pass. Live Gmail checks not run.

Closes CL-9046

bun test ran three files from tests/live while skipping the e2e suites
beside them. The helper tests now live in tests/unit, the test script
runs that directory, and tests/live holds only the live e2e suites and
their helpers. Both typechecks now cover tests/unit, and CI runs
the package test script instead of bare bun test, which ignored it.
@TheGreatAxios
TheGreatAxios force-pushed the cl-9046-google-tools-split-live-helper-unit-tests-out-of-testslive branch from c792940 to c6219ee Compare September 25, 2026 14:31
@TheGreatAxios

Copy link
Copy Markdown
Contributor Author

Superseded by 70bc917 on cl-9046-google-tools-test-layout: the live-helper tests covered only test code and are deleted, and the live suite now lives in e2e/.

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.

1 participant