mirror of
https://github.com/luxfi/explore.git
synced 2026-09-24 00:28:18 +00:00
18 lines
440 B
TypeScript
18 lines
440 B
TypeScript
import React from 'react';
|
|
|
|
import { ENVS_MAP } from 'playwright/fixtures/mockEnvs';
|
|
import { test, expect } from 'playwright/lib';
|
|
|
|
import HeaderDesktop from './HeaderDesktop';
|
|
|
|
test.beforeEach(async({ mockEnvs }) => {
|
|
await mockEnvs([
|
|
...ENVS_MAP.rewardsService,
|
|
]);
|
|
});
|
|
|
|
test('default view +@dark-mode', async({ render }) => {
|
|
const component = await render(<HeaderDesktop/>);
|
|
await expect(component).toHaveScreenshot();
|
|
});
|