Test code


skuba bundles Jest as its testing framework. SEEK has standardised on Jest across frontend and backend development.


skuba test

Executes Jest tests.

Arguments are passed through to the Jest CLI:

skuba test --coverage path/to/file.test.ts

Annotations

skuba test can automatically emit annotations in CI.

GitHub check runs are created with a default title of skuba/test. You can further qualify this by providing a displayName in your Jest config; for example, the display name integration will result in the title skuba/test (integration).

See our Jest guide for a more detailed configuration breakdown.