smartpuppeteer/test/test.ts
2021-01-08 21:16:25 +00:00

12 lines
301 B
TypeScript

import { expect, tap } from '@pushrocks/tapbundle';
import * as smartpuppeteer from '../ts/index';
tap.test('first test', async (tools) => {
const headlessBrowser = await smartpuppeteer.getEnvAwareBrowserInstance({
forceNoSandbox: true,
});
await headlessBrowser.close();
});
tap.start();