Add App.tsx unit tests to increase coverage #1625
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.
|