Skip to content

Add App.tsx unit tests to increase coverage #1625

Add App.tsx unit tests to increase coverage

Add App.tsx unit tests to increase coverage #1625

Triggered via pull request December 16, 2024 15:55
Status Failure
Total duration 4m 6s
Artifacts

ci.yml

on: pull_request
Matrix: integration
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 2 warnings
lint (ubuntu-20.04): packages/suite-base/src/App.test.tsx#L22
Replace `·jest.fn(({·children·})·=>·<div·data-testid="layout-manager-provider">{children}</div>)` with `⏎··jest.fn(({·children·})·=>·<div·data-testid="layout-manager-provider">{children}</div>),⏎`
lint (ubuntu-20.04): packages/suite-base/src/App.test.tsx#L23
Replace `·jest.fn(({·children·})·=>·<div·data-testid="panel-catalog-provider">{children}</div>)` with `⏎··jest.fn(({·children·})·=>·<div·data-testid="panel-catalog-provider">{children}</div>),⏎`
lint (ubuntu-20.04): packages/suite-base/src/App.test.tsx#L24
Replace `·jest.fn(({·children·})·=>·<div·data-testid="multi-provider">{children}</div>)` with `⏎··jest.fn(({·children·})·=>·<div·data-testid="multi-provider">{children}</div>),⏎`
lint (ubuntu-20.04): packages/suite-base/src/App.test.tsx#L25
Replace `·jest.fn(({·children·})·=>·<div·data-testid="global-css">{children}</div>)` with `⏎··jest.fn(({·children·})·=>·<div·data-testid="global-css">{children}</div>),⏎`
lint (ubuntu-20.04): packages/suite-base/src/App.test.tsx#L26
Replace `·jest.fn(({·children·})·=>·<div·data-testid="document-title-adapter">{children}</div>)` with `⏎··jest.fn(({·children·})·=>·<div·data-testid="document-title-adapter">{children}</div>),⏎`
lint (ubuntu-20.04): packages/suite-base/src/App.test.tsx#L27
Replace `·jest.fn(({·children·})·=>·<div·data-testid="error-boundary">{children}</div>)` with `⏎··jest.fn(({·children·})·=>·<div·data-testid="error-boundary">{children}</div>),⏎`
lint (ubuntu-20.04): packages/suite-base/src/App.test.tsx#L29
Replace `<div·data-testid="color-scheme-theme">{children}</div>` with `(⏎····<div·data-testid="color-scheme-theme">{children}</div>⏎··)`
lint (ubuntu-20.04): packages/suite-base/src/App.test.tsx#L31
Replace `·jest.fn(({·children·})·=>·<div·data-testid="css-baseline">{children}</div>)` with `⏎··jest.fn(({·children·})·=>·<div·data-testid="css-baseline">{children}</div>),⏎`
lint (ubuntu-20.04): packages/suite-base/src/App.test.tsx#L32
Replace `·jest.fn(({·children·})·=>·<div·data-testid="send-notification-toast-adapter">{children}</div>)` with `⏎··jest.fn(({·children·})·=>·<div·data-testid="send-notification-toast-adapter">{children}</div>),⏎`
lint (ubuntu-20.04)
Process completed with exit code 1.
lint (ubuntu-20.04): packages/suite-base/src/App.test.tsx#L134
Some tests seem to be commented
Playwright
You are using a frozen webkit browser which does not receive updates anymore on ubuntu20.04-x64. Please update to the latest version of your operating system to test up-to-date browsers.