smartpuppeteer/test/test.ts
2019-11-15 18:59:29 +01:00

12 lines
295 B
TypeScript

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