File size: 270 Bytes
dc89ab8
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
import { assertEquals } from "https://deno.land/std@0.152.0/testing/asserts.ts";
import Puppet from './puppet.ts'

Deno.test("Puppet", async () => {
  const P = new Puppet()
  await P.connect()
  await P.run(page => page.goto("https://google.com"))
  await P.close()
})