mirror of
https://github.com/tenrok/OverlayScrollbars.git
synced 2026-06-18 01:10:37 +03:00
16 lines
432 B
TypeScript
16 lines
432 B
TypeScript
import { Environment } from 'environment';
|
|
import url from './.build/build.html';
|
|
|
|
describe('StructureLifecycle', () => {
|
|
beforeAll(async () => {
|
|
await page.goto(url);
|
|
});
|
|
|
|
it('should be titled "Environment"', async () => {
|
|
// @ts-ignore
|
|
const a: Environment = await page.evaluate(() => window.Environment.envInstance);
|
|
console.log(a);
|
|
await expect(page.title()).resolves.toMatch('Environment');
|
|
});
|
|
});
|