smartpuppeteer/test/test.ts
2019-11-16 01:15:08 +01:00

12 lines
298 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();