1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-07-25 00:09:40 +02:00

feat(gpu): rework docker GPU for UI performance [EE-4918] (#8518)

This commit is contained in:
Ali 2023-03-03 14:47:10 +13:00 committed by GitHub
parent 769c8372fb
commit fd916bc8a2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
52 changed files with 692 additions and 285 deletions

View file

@ -0,0 +1,16 @@
import { render } from '@testing-library/react';
import { InsightsBox } from './InsightsBox';
test('should display a InsightsBox with a header and content', async () => {
const header = 'test header';
const content = 'test content';
const { findByText } = render(
<InsightsBox header={header} content={content} />
);
const headerFound = await findByText(header);
expect(headerFound).toBeTruthy();
const contentFound = await findByText(content);
expect(contentFound).toBeTruthy();
});